apache: http redirect for any request going to www.foo.com/*
Hi,
Can anyone hint as how to redirect any request to a website to another webpage. For example, I have a site http://www.foo.com/ I'd like any request to http://www.foo.com/ or http://www.foo.com/someotherpage.html to get redirected to one page. (I'm closing this site down and want anyone going there to be redirected to teh new site). I'm using Apache. Thanks, |
use this heading of your default page on the old site
<HEAD> <META HTTP-EQUIV="refresh" CONTENT="0;URL=http://your site dot com"> </HEAD> |
All times are GMT -5. The time now is 07:20 AM. |