htaccess redirects

- Posted in Uncategorized by
Redirect www to non-www: :::apache RewriteEngine On RewriteCond %{HTTP_HOST} !^my-domain\.com$ [NC] RewriteRule ^(.*)$ http://my-domain.com/$1 [R=301,L] Redirect non-www to www: