I have a site that used to have all of its pages hosted on a single domain (e.g. mydomain.com
). At some point, a portion of the site's content was moved to another domain and the folks who did the move handled it by creating URL rewrites and 301 redirects.
Here's an example from my .htaccess
file:
RewriteRule ^go/start/page.html http://otherdomain.com/page.html
Redirect 301 /go/resource/guide.pdf http://otherdomain/resources/guide.pdf
I don't know why some URLs were re-written while others were redirected.
My problem now is that I have to move these same pages to yet another location. For instance, what is currently hosted at http://otherdomain.com
will be moved to http://foo.mydomain.com
.
What is the best way to handle this?