Answers for "How can I force https for my website"

3

force https

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

Code answers related to "How can I force https for my website"

Browse Popular Code Answers by Language