Knowledgebase
How do I set up URL redirect for a domain? Print this Article
You can redirect the old domain name to your new one by inserting this code to the .htacess file in your public_html folder:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Replace www.newdomain.com in the above code with your old domain name.
Was this answer helpful?
Related Articles
Updating DNS at NetworkSolutions.com
This demo assumes you have a domain name registered through NetworkSolutions.com, and starts from...
This demo assumes you have a domain name registered through NetworkSolutions.com, and starts from...
Updating DNS at StarGate.com
This demo assumes you have a domain name registered through StarGate.com, and starts from the...
This demo assumes you have a domain name registered through StarGate.com, and starts from the...
Updating DNS at Register.com
This demo assumes you have a domain name registered through Register.com, and starts from the...
This demo assumes you have a domain name registered through Register.com, and starts from the...
Updating DNS at Netfirms.ca
This demo assumes you have a domain name registered through Netfirms.ca, and starts from the...
This demo assumes you have a domain name registered through Netfirms.ca, and starts from the...
Updating DNS at NameCheap.com
This demo assumes you have a domain name registered through NameCheap.com, and starts from the...
This demo assumes you have a domain name registered through NameCheap.com, and starts from the...