Client Login

How do I rewrite the URL for my parked domain to my main domain?

Add the following to .htaccess:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} domain2.com [OR]
RewriteCond %{HTTP_HOST} www.domain2.com
RewriteRule ^(.*)$ http://www.domain1.com/$1 [L,R=301]

(Change domain1 and domain2 to your domains.)



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read