Answers for "HTTP_HOST https"

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 "HTTP_HOST https"

Browse Popular Code Answers by Language