How to redirect HTTP to HTTPS Using .htaccess


RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

Article Details

Article ID:
6
Category:
Rating :

Related articles