SEOMalc
07-12-2006, 06:38 AM
Hi,
sorry if this is posted in the wrong place.
I have a client with 2 domains i.e. onetwothree.com and ott.com which both point to the same files on the same server.
I want to redirect any request for a onetwothree.com page to the corrisponding ott.com page i.e. onetwothree.com/blah/blah.html to ott.com/blah/blah.html
I have read about this but just wanted to check, is the solution to write the following into .htaccess in the root;
redirect 301 / http://www.onetwothree.com/ http://www.ott.com/
I'm not 100% sure about the http:// bits but am unable to test due to not having access to the clients site.
Many thanks
Malcolm.
sorry if this is posted in the wrong place.
I have a client with 2 domains i.e. onetwothree.com and ott.com which both point to the same files on the same server.
I want to redirect any request for a onetwothree.com page to the corrisponding ott.com page i.e. onetwothree.com/blah/blah.html to ott.com/blah/blah.html
I have read about this but just wanted to check, is the solution to write the following into .htaccess in the root;
redirect 301 / http://www.onetwothree.com/ http://www.ott.com/
I'm not 100% sure about the http:// bits but am unable to test due to not having access to the clients site.
Many thanks
Malcolm.