Answers for "how to redirect auto https in website"

1

how to automatically redirect to https

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

Code answers related to "how to redirect auto https in website"

Browse Popular Code Answers by Language