Forum Moderators: phranque
Can someone please tell me the best way to 301 traffic from
[mydomain.tld...]
to
[mydomain.tld...]
Many thanks
RewriteEngine On
RewriteCond %{HTTP_HOST}!^www\.mydomain\.tld$
RewriteRule ^(.*)$ [mydomain.tld$1...] [R=301,L]
[Don't know why, but it keeps taking out the space before the exclamation mark - make sure you put it back in...]