Home › Forums › Other › .htaccess Urgent help needed please › Re: .htaccess Urgent help needed please
April 24, 2009 at 3:55 pm
#56723
mattvot
Member
I found a more comprehensive code.
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain2.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain1.com$
RewriteRule ^(.*)$ “http://www.domain2.com/$1” [R=301,L]