What's a good way to redirect a whole site to another url?
Jul 30, 2002, 9:32 PM
User (277 posts)
Jul 30, 2002, 9:32 PM
Post #3 of 5
Views: 4531
What if the old site has scripts and folders which the new site won't have?
So when visitors run into http://oldsite.com/forum/forum.cgi
It will run into the 404 error msg of site! I know I can change the error msgs of my site to redirect all error msgs to main site!
However that's quite insufficient! Any other suggestions?
So when visitors run into http://oldsite.com/forum/forum.cgi
It will run into the 404 error msg of site! I know I can change the error msgs of my site to redirect all error msgs to main site!
However that's quite insufficient! Any other suggestions?
Jul 31, 2002, 7:54 AM
User (105 posts)
Jul 31, 2002, 7:54 AM
Post #5 of 5
Views: 4490
oops. sorry.. the apache server documents are all down so i couldn't check for the right redirect.. but here
RedirectMatch (.*) http://www.otherdomain.com$1
will move everything to another domain
--
jsu
RedirectMatch (.*) http://www.otherdomain.com$1
will move everything to another domain
--
jsu