edc
Regular Member
- Dec 9, 2007
- 282
- 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?
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?