SyntaxFix
Write A Post
Hire A Developer
Questions
Nothing of the above worked for me. But those lines solved the same problem on my WordPress site:
RewriteEngine On RewriteCond %{HTTP:HTTPS} !on RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]