SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me:
RewriteCond %{HTTPS} =off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L,R=301]