Answers for ".hattaccess how to use https instead of http"

PHP
0

htaccess https to http

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Posted by: Guest on July-22-2020
0

http to https htaccess

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
Posted by: Guest on April-14-2020

Code answers related to ".hattaccess how to use https instead of http"

Browse Popular Code Answers by Language