Answers for "make https when in server make http when its local in htaccess"

0

force http to https htaccess

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L,NE]
Posted by: Guest on May-30-2020

Code answers related to "make https when in server make http when its local in htaccess"

Browse Popular Code Answers by Language