21 aprīlis, 2018

Forced https


To force https all web traffic to use https insert the following lines of code in the .htaccess file in your website's root folder

RewriteCond %{HTTP_HOST} domain\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]

Nav komentāru: