Forum Moderators: open
(eg: if the user type www.domain.com/wrongfilename.htm it should redirect to www.domain.com.
please tell me a solution
thanks
Murali
This thread about Custom 404 [webmasterworld.com] might help you Murali. One way is to modify your .htaccess file and redirect to your index page.
I get the following error, if the requested page is not found.
----------------------------------------------
Not Found
The requested URL was not found on this server.
Web Server at www.domain.com
----------------------------------------------
please help
Do not redirect to the index page. You will be setting yourself up for serving duplicate content: any site that links to a URL on your site that does not exist will let Google see that non-existant page as being a duplicate of your real index page, and one or the other of them will be dropped out of the SERPs. If their linking page has a higher PR than your real index page, then it is your index page that might get dropped.
Never redirect to the index page. Simply serve a custom 404 page with the navigation to major parts of the site included in that error page.
[edited by: g1smd at 2:09 pm (utc) on Aug. 29, 2005]
If I link to www.your-site.com/some-made-up-page-name.html that does not exist (and you are redirecting to your index page), then it is possible for Google to index that "page" as being a duplicate of your index page.
If my site has very high PR, then the content of your index page will be indexed as www.your-site.com/some-made-up-page-name.html and your index page itself will drop from the SERPs, filtered out as a duplicate of it.