Answers for "use htaccess to force https"

0

forcer https htaccess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Posted by: Guest on December-02-2020

Browse Popular Code Answers by Language