How do I set up URL redirect for a domain?

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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Updating DNS at Register.com

This demo assumes you have a domain name registered through Register.com, and starts from the...

Updating DNS at 1and1.com

This demo assumes you have a domain name registered through 1and1.com, and starts from the...

Updating DNS at DynaDot.com

This demo assumes you have a domain name registered through DynaDot.com, and starts from the...

Updating DNS at dotster.com

This demo assumes you have a domain name registered through dotster.com, and starts from the...

Updating DNS at enom.com

This demo assumes you have a domain name registered through enom.com, and starts from the...