Answers for "RewriteEngine On RewriteCond %{HTTPS} =off RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [NC]"

5

force .htaccess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Posted by: Guest on June-23-2020

Code answers related to "RewriteEngine On RewriteCond %{HTTPS} =off RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [NC]"

Browse Popular Code Answers by Language