<IfModule rewrite_module> RewriteEngine On # These rules automatically redirect bare HTTP to HTTPS. #<IfModule ssl_module> #RewriteCond %{HTTPS} off #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} #</IfModule> </IfModule>