RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
source: https://www.siteground.com/kb/how-to-force-ssl-with-htaccess/
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
source: https://www.siteground.com/kb/how-to-force-ssl-with-htaccess/