BIP KB Tag: htaccess
How To Redirect HTTP to HTTPS using an .htaccess file
The below code when added to an .htaccess file will automatically Redirect HTTP traffic to https:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
...
By salem, May 20, 2016