Forum Moderators: phranque
RewriteEngine on
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.url-name.com/$1 [L,R]
or
RewriteEngine on
RewriteCond %{HTTP_HOST} !^urls2.com(:80)?$
RewriteCond %{HTTP_HOST} !^urls-name.com(:80)?$
RewriteRule ^(.*) http://www.url-name.com/$1 [L,R]
any help would be appreciated.
btw. i know that
UseCanonicalName On