hi on my site google indexed www.mysite.com/* which isnt on my server ..this url came from some other external source..and its giving 404 error..so i want to redirect this url to my homepage ..how to do that ?
A:
Add the following value to your .htaccess
ErrorDocument 404 /index.php
Or .html is you're index is a .htm or .html file.
Jordy
2010-09-13 13:49:36
its .htm file but i dont want to redirect that url to home page using this method coz it ll replace my all 404 pages with homepage..which i dnt think good idea..so any other solution?
artdex
2010-09-14 09:41:18