Gossamer Forum
Home : General : Internet Technologies :

good way to redirect a whole site to another url?

Quote Reply
good way to redirect a whole site to another url?
What's a good way to redirect a whole site to another url?
Quote Reply
Re: [xpert] good way to redirect a whole site to another url? In reply to
.htaccess

Redirect / http://www.doman.com/

--
jsu
Quote Reply
Re: [Seto Kaiba] good way to redirect a whole site to another url? In reply to
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?
Quote Reply
Re: [xpert] good way to redirect a whole site to another url? In reply to
Redirect / http://www.site.com/

ErrorDocument 404 /
Quote Reply
Re: [xpert] good way to redirect a whole site to another url? In reply to
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