Shawn wrote:
> Hi gang.  I'm noticing some 404's on my Apache server.  When I investigated,
> I discovered they are resulting from old links that don't exist anymore (but
> still appear on Google).  I think I remember seeing a way to configure
> Apache to redirect 404 messages, but am missing the details.  Do I just need
> to build a generic "The file cannot be found" page and setup a custom 404
> message?  For most of the 404's, the actual pages/articles still exist, but
> have been moved or renamed.  Is there a quick and easy way to point these
> bad requests to the correct address?

for pages that exist at new URLs you could do:

RedirectPermanent /a/b/c.html http://www.my.com/x/y/z.html

apache docs here:

http://httpd.apache.org/docs-2.0/mod/mod_alias.html

there is also mod_rewrite which allows more powerful/flexible client
redirection.

Dave


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to