I'm trying to use the code below to redirect all traffic from http://mysite.com, and from http:/www.mysite.com
to https://mysite.com
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.mysite.com [NC]
RewriteRule ^(.*)$ https://mysite.com/$1 [L,R=301,NC]...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.