Answers for "Redirecting HTTP to HTTPS with .htaccess"

0

Redirecting HTTP to HTTPS with .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 "Redirecting HTTP to HTTPS with .htaccess"

Browse Popular Code Answers by Language