Answers for "I have turned https off in my .htaccess file still the site is redirecting to https"

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 "I have turned https off in my .htaccess file still the site is redirecting to https"

Browse Popular Code Answers by Language