I made a lot of modifications on one of my blogs and there are so many dead links. I can’t remember how to redirect these dead links to my homepage. Can someone tell me please… Thanks
Add the following line to your .htaccess file:
ErrorDocument 404 http://www.example.com
replace example.com with your real domain name (since example.com is specifically reserved for use as an example domain name for situations where you are supposed to substitute your domain name).
Hi Stephen, Wow, thanks a lot… I remember before I was doing this with 404.php file but I forgot how to do it… Anyway, its working now with your suggestion…
Thanks,
Jun