Web pe jitne bhi pages hote hai unka ek address hota hai, jise URL (‘Uniform Resource Locator) kaha jata hai. Kabhi kabhi content ek URL se dusre URL pe move ho jate hai. Redirect automatically browser ko ek URL se dusre URL pe le jata hai. Is post me hum baat karenge ke redirect kya hai aur ye SEO ko Kaise impact karta hai. To chalye sab se pahle hum dekhte hai ke redirect kya hai?
Redirect Kya Hai?
Redirection ek process hai jiski help se hum ek URL se dusre URL pe jate hai. Ye ek aisa way hai jiske zarye se user aur search engine dono ko ek jis page ko wo request karte hai us page se dusre page pe bheja jata hai.
Ek redirect kisi dusre URL ko point kar sakta hai. Aisa zaroori nahi hai ke redirect me usi same website ko point kiya jaye. Dusre domain pe kiye jane wale redirect ko kabhi kabhi cross-domain redirects ke taur pe refer kiya jata hai.
Redirects Ke Types?
Browser ko kayi tarah se redirect kiya ja sakta hai. Redirects ko do classes me classify kiya ja sakta hai: serverside redirects aur client-side redirects. In dono ko age kayi types me divide kiya ja sakta hai.
Serverside redirects
Serverside redirects directly server pe perform kiya jata hai aur result ke taur pe HTTP status headers ke form me kuch content browser ko sent karta hai. Iske baad browser jaan pata hai ke use kidhar jana hai au phir wo use turant follow karta hai.
In HTTP headers me serverside redirects ka code hota hai jiski help se browser user ko new location pe le jata hai. URL ko call karne pe server turant new destination pe redirect kar deta hai.
Bahut tarah ke HTTP status codes hote hai jo kisi khas type ke redirect ko indiacate karte hai. Har tarah ke redirect ka kuch khas purpose hota hai aur positive effects ke sath ise apply kiya ja sakta hai.
Agar search engine kisi redirect ko discover karta hai to use decide karna parta hai ke wo use kaise handle karega. SEO perspective se ek central question hai: Kya redirect se link juice ya ranking signals pass hota hai.
Is decision ko lene ke liye search engines redirect ke liye use kiye gaye status code aur uske technical details ko dekhta hai.
Niche is context me 30x status codes ke kuch technical details ko mention kiya gaya hai.
301 Redirect
Meaning: Is tarah ke redirect tab use kiye jate hai jub hame kuch chizo ko permanantly move karna ho.
Explanation: Search engine redirect ko follow karega aur ise tab use kiya jata hai jub page ko move kiya jata hai ya page ko delete kar diya jata hai aur similar content ko kahi dusri jagah pe dekha ja sakta hai.
Search engine redirects ko follow karta hai aur new URL ko index me add karta hai.Aur jo link old URL ko point karti hai use new URL ke ranking ke taur pe count kiya
jata hai. Future ke sabhi direct new URL pe hote hai.
302 Redirect
Meaning: Ye ek temporary redirect hai, ise tab use kiya jata hai jub pahe ko temporarily kahi move kiay jata hai ya jub oroginal URL ko hi hamesha request kiya jata ha
Explanation: Content ko temporarily move kiya jata hai aur future ke sabhi request original URL pe hi direct kiya jate hai.
307 Redirect
Meaning: Temporary Redirect
Explanation: 302 redirect ka HTTP 1.1 version hai.
308 Redirect
Meaning: Permanent Redirect
Explanation: 301 redirect ka HTTP 1.1 version hai.
Client-Side redirects
Client-side redirect ek forwarding method hai jisme visitor ka browser redirection ko handle karta hai.
Client-side redirect kuch code ka result hota hai jo browser me run kar raha hota hai aur phir ye client aur browser ko dusre URL pe redirect karta hai. Us code ko run karne ke liye ise pahle browser ko send karna hota hai jiski wajah se se ye slow hota hai.
Client-side redirects ke bahut sare drawbacks hai jo niche mention kiye gaye hai:
- SEO: Agar aap client-side redirects ka use karte hai to aisa ho sakta hai ke search engines authority pass na kare. Isliye agar aap ye sure hona chahte hai ke search engine aapke redirect ko turant follow kare to aapko server-side redirects ka use karna chahye. Agar aap content ko permanently move karna chahte hai to 301 redirect ka use kare aur agar temporarily redirect karna chhate hai to 302 redirect ka use kare.
- Back button: client-side redirects Back button ko break karta hai. ju Back button ko use karne ki koshish ki jati hai to visitors ko us URL pe redirect kiya jata hai jispe wo redirect kiye gaye the.
- Support: Sabhi browser client-side redirects ko support nahi karte hai.
Inhi reasons ke tahat strongly recommend kiya jata hai ke client-side redirects ka use na kiya jaye.
Client-side redirects ke do types hai:
Meta refresh redirect
Meta refresh redirect kometa refresh element
, ka use kar ke implement kiya jata hai joki<head>-section
me located hai. Yeh kuch second ke baad browser ko page refresh karne ke ya kisi dusre URL ko load karne ke liye use kiya jata hai.
JavaScript redirect
Ek JavaScript redirect ka use dusre URL ko load karne ke liye browser ko instruct karne ke liye kiya jata hai.
Redirection Ke Best Practices
Jub aap redirect ka use kare to niche kuch bate di gayi hai jinhe aapko dhyan me rakhna hoga:
Redirects Ko Avoid Karne ki koshish kar
Haan aapne bilkul theek suna hai, aapse jitna possible ho sake redirect ko avaoid kare kyuki ye aapke load time ko badhata hai aur crawl budget ko waste karta hai.
Relevant Alternative URL Pe Hi Redirect Kare
Redirect implement karte waqt is baat ka dhyan rakhe ke aap apne old URL ko most relevant alternative URL pe hi redirect kare. Ye user point of view se important hai hi, uske sath hi search engine bhi ise important samajhta hai.
Chained Redirects Ko Avoid Kare
Redirect karte waqt aapko chahye ke aap chained redirect ko avoid kare. Chained redirect tab hota hai jub ek URL ko request karne pe redirect ise dusre URL pe redirect karta hai aur phir washa se ye kisi dusre URL pe redirect kiy jata hai. Google sirf 5 redirects ko follow karta hai. iske baad ye stuck hone ki wajah se redirect ko avoid karta hai.
Apne Website URL ke Preferred Version Pe hi Redirect kare
Ye zaroori hai ke aap apne website URL ke preferred version ko hi choose kare aur usi ke sath stick rahe.
Redirect Kab Create Kare
Aapko redirect tab create karna chahye jub:
- Jub aap ek system se dusre system pe move kar rahe ho aur us wajah se URL ko aur change kiya ho.
- Aap ne kisi page ko delete kiya aur similar content kahi aur available ho.
- Jub aap multiple pages ke content ko ek page me merge kiya ho.
Ummid hai aapko redirects ka ye article (redirect kya hai aur ye SEO ko Kaise Impact karta hai) informative laga hoga. Agar aapka koi swaal hai to aap humse comment section me pooch sakte hain. Apke liye ye (WordPress in Hindi) course design kiya gya hai, Is Website pe apko WordPress Complete Course Hindi me mil jyega, Agr aap WordPress se related videos dekhna chahte hain to aap hmare WP Seekho YouTube Channel par bhi visit kar sakte hain.