Welcome to WebmasterWorld Guest from 22.214.171.124
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/
How do i do that?
Just a thought.
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.