Redirect all traffic to https

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

Similar Posts:

Tagged , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *