Forum Moderators: phranque
RewriteCond %{HTTP_HOST} !^(www\.mymaindomain\.com)?$
RewriteRule (.*) http://www.mymaindomain.com/$1 [R=301,L]
How can I get the redirect to check whether the alias entered contains the "www" part, and redirect to the exact same version on the main domain?
Thanks!