Friday, October 30, 2009

How do I redirect a URL to another site?

I have a registered domain name for example like www.12345.com



At the same time, I have a WordPress blog for example like www.12345.wordpress.com



Eventually I am going to web host this blog but for the time being, is there a way for people to enter www.12345.com and get automatically redirected to www.12345.wordpresss.com?



How do I redirect a URL to another site?





Usually you will find it in control panel.



How do I redirect a URL to another site?



Hi there .. it%26#039;s very simple



add this to your webpage at the beginning.



%26lt;meta http-equiv=%26quot;refresh%26quot; content=%26quot;2;url=www.12345.



wordpresss.com%26quot;%26gt;



Hope this works



Other Replys:Lots of ways.



%26lt;meta http-equiv=%26quot;refresh%26quot; content=%26quot;8;url=http://www.anycompany.com... /%26gt; is one



%26lt;?php



header(%26quot;location:http://anycompany.com...



exit;



?%26gt; is another



and one more %26lt;%@ Language=VBScript %%26gt;



%26lt;%



Response.Status=%26quot;301 Moved Permanently%26quot;



Response.AddHeader %26quot;Location%26quot;, %26quot;http://www.anycompany.com/index.html%26quot;



%%26gt;

No comments:

Post a Comment