Super Noob redirect question

edc

Regular Member
Joined
Dec 9, 2007
Messages
282
Reaction score
85
How can I redirect all page requests from one domain / subdomain to the analogous page on another domain / subdomain? For example, I'd like a request to

www.domain1.com/dir/page1.htm

to go to

www.domain2.com/dir/page1.htm

alternatively, if I could make

subdomain1.domain1.com/dir/page1

go to

subdomain2.domain1.com/dir/page1

That would work just as well.

Note that I have complete control over both domains; I'm simply changing domains and don't want to lose any existing traffic. Is there an .htaccess answer here somewhere?
 
im sure you can put a simple redirect script in all the folders, which should have the link you would like to redirect to...

theres a simple script in php available, type 'domain redirect script' in google! you will find it.. if not look here too.. its around BHW somewhere!
 
hey... check this page out.

Code:
http://www.webconfs.com/how-to-redirect-a-webpage.php
 
The problem is, I have several hundred web pages. It doesn't make sense to do one at a time. -e-
 
Back
Top