BIP KB Tag: HTTPS
How To Redirect HTTP Traffic To HTTPS Using An .htaccess File
The below code, when added to a .htaccess file, will automatically redirect any traffic destined for http: to https:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
...
By lee, January 24, 2015
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