Forcing https (ssl) on .htaccess file

Go to your .htaccess file then add the following lines

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Need more clarification on this matter write to us via ssl@hostnasi.com

admin has written 25 articles

Leave a Reply