Am Sonntag, 3. Oktober 2004 01:10 schrieb David Banning: > I notice on some web sites when you try to load a page that does not > exist, it directs the users browser to another page. How do I set > that up in apache?
Three different methods: -Use .htaccess, I dont have a syntax example handy. -Use the redirect directive in httpd.conf. Example: RedirectMatch permanent /dir1/*(.*)$ http://www.yoursite.com/dir2 -Use html refresh. Create the page which should get redirected with the following content: <html> <head> <META HTTP-EQUIV="refresh" content="0;URL=http://www.yoursite.com/newlink"> </head> </html>
pgp4BLexvWyuJ.pgp
Description: PGP signature