Msg#: 3248939 posted 1:37 am on Feb 11, 2007 (gmt 0)
after some searching the forum i did run into a few topics that deals with almost same question i have but were still different...
What i want... One of my sites i changed its content and chances are i will get requests on pages,html and php that doesnt exist anymore.
To take care of that i would like to use mod_rewrite. sure i can use ErrorDocument 404 / but if people go to page mysite.com/whatever.php (or html) i want every non existent request redirected to mysite.com/
Msg#: 3248939 posted 2:18 am on Feb 11, 2007 (gmt 0)
Wouldn't it be more of an advantage to have a "301 Permanently Moved" redirect? This would work as an advantage on the Search Engines because the page would be found once all the new pages have been indexed, Instead of finding a blank page and loosing all the current search engine relevancy?
Msg#: 3248939 posted 2:40 am on Feb 11, 2007 (gmt 0)
> i want every non existent request redirected to mysite.com/
Not recommended -- Research "duplicate content" and "dup content penalty" for more info.
A better solution is to redirect those pages which do have an exact or "close enough" replacement to that replacement, make your custom 404 error page friendly and informative, and provide links on it to your home page and site map.