April 24, 2018

htaccess: non SSL traffic to a ssl website

Forrest

htaccess: non SSL traffic to a ssl website

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

 

Skip to toolbar