Mass Re-directs

liunx

Guest
I was wondering, I had a blog hosted on a subdomain of my site which I've now moved to a domain of its own, how would I redirect all pages to the same named ones on the new domain ?<br /><br />ie <a href="http://mysub.****/index.xml" target="_blank">http://mysub.****/index.xml</a> --> <a href="http://www.mysub.com/index.xml" target="_blank">http://www.mysub.com/index.xml</a><br /><br />etc.<!--content-->
n/m fingured out how to do it, a permanent redirect like so:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Redirect permanent / http://www.newdomain.com/<!--c2--></div><!--ec2--><!--content-->
Can anyone expand on this? I don't know how to code this permanent redirection or if it'll even work on my old "server" (Homestead).<br /><br />I want to do the same thing so that in case there are any links out there, the person will automatically be redirected to the page they wanted.<br /><br />Thanks,<br />Brian<!--content-->
Doubt you will be able to do it unless you have access go the .htaccess file on your Homestead site.<!--content-->
Oh well, thought I'd ask. I have a regular redirect to my home page. That'll do. I'll hopefully have the majority of the link changed anyways.<br /><br />Thanks. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Back
Top