We have rebuild our site and are looking to redirect about 1000 URLs. Looking around on the web it seems
Redirect 301 /oldlocation http://www.domain2.com/newlocation
is the string to use. I just wonder how the server knows the domain of
/oldlocation
as it hosts more then one website. If we have two
websites with /oldlocation
will both be redirected?
Is it possible to use
Redirect 301 http:full-old-url http:new-url
instead to make sure the server knows what old URL we are targeting?