Jub kabhi bhi aap apne site se kisi page ko delete karte hai to aap iske sath hi ek ya us zyada URL ko bhi delete karte hai. Aur in old URL pe jub log visit karte hai to usually ye ‘404 not found’ error return karta hai, joki aapke user aur Google dono ke liye accha nahi hai. Ye aise chiz hai jo hum me se koi bhi nahi jahega. Isliye aap apne deleted page ko dusre page pe redirect kar sakte hai. Is post me hum aapko batayenge ke aap kis tarah se sahi dhang se apne old post ko delete kare.
Kisi Page Ko Completely Kaise Redirect ya Delete kare?
Jo pahli chiz jo aapko apne content ko delete karne ke baad karni hai wo ye hai ke aap is baat ka soche ke aapne jis content ko delete kiya hai wo aapke site pe kisi dusre content ke equivalant hai ke nahi. Is baat ko is tarah soche ke aapne jis page ko delete kiya hai kya us jaisa koi page aapke site pe hai jo uska answer user ko de sakta hai. Agar aisa hai to aapko delete kiye gaye page ke URL ko alternative page pe redirect karna hoga.
In general, hamara advice hai ke aap apne page ko tab bhi redirect kare jub aapke kuch user hi us se benefit hasil kar sakte hai. Iske peeche ka reason bahut simple hai kyu agar aapke user ko “content not found” page dekhne ko milega to ye ek accha alternative nahi hoga.
Redirect Create Kare
Redirect kayi tarah ke hote hai, lekin 301 redirect permanent redirect hai, aur aapko apne deleted page URL ko redirect karte waqt isi redirect ka use karna chahye. 301 redirect use karne ka matlab hai ke Google aur dusre search engine aapke old page URL ke link value ko redirected page pe assign karte hai.
Page Ko Kab Completely Delete Kare
Agar aapke site pe us information ke sath koi dusra alternative page nahi hai, to aapko khud se sab se pahle ye poochne ki zaroorat hai ke kya aapko sach me is spage ko delete karna chahye ya phir ise improve karna chahye.
Lekin agar aap absolutely sure hai ke aapko apne page ko delete hi karna hai to aap ye sure kare ke aap proper HTTP header: a ‘410 content deleted’ header ko send kare.
404 and 410 HTTP headers
404 aur 410 header ke beech ka difference bahut simple hai: 404 ka matlab hai ke “content nahi mila” wahi 410 ka matlab hai “content delete ho gya hai” aur isi liye ye bahut specific hai.
Agar koi URL 410 return karta hai to Google ye jaan leta hai ke aapne kisi wajah se URL ko remove kioya hai, aur isi liye wo apne index se us URL ko bahut jaldi hata deta hai.
Agar aap WordPress ke liye Yoast SEO Premium plugin ka use karte hai to isme aapko redirects module milega jo aapko 401 header set karne deta hai. Redirect manager redirect ke sath kaam karne ke liye ek accha tool hai jo aapko kisi permalink ko delete ya change karte waqt ye poochta hai ke aapko us URL ke sath kya karna hai. Aap yaha pe kisi bhi tarah ke redirect ko set kar sakte hai.
410 content deleted headers ke sath ek problem ye hai ke Google iske liye incomplete support provide karta hai. Aisa haike Google 410 serve karne wale pages ko apne index se fast delete karta hai, lekin Google Search Console 410s ko 404s error ki tarah hi “Not found” crawl error ke andar rakhta hai.
Page Delete Karte Waqt Ka Collateral Damage
Jub aap apne site se ek ya us se zyada page ko delet karte hai to aksar aapko collateral damage ka samna karna parta hai. Jaise agar aap apne site pe kisi specific tag se sabhi post ko delete kar dete hai, to wo tag empty ho jayega, aur uska arhieve URL 404 retyrn karega. Halaki aapne apne sabhi URLs ko properly handle kiya hai, tag archive phir bhi 404 return karega, isliye aapko in URLs ke sath bhi deal karna hoga.
Agar aap apne poor content ko delete karte hai to ye bahut sare 404 ko create kar dega aur aapka site down ho jayega. Isliye aapko chahye ke aap care ke sath aage proceed kare.
Ummid hai aapko 301 vs 302 redirects ka ye article (301 aur 302 redirects kya 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.