SSL enforcing

You can enforce ssl on your website by setup a .htaccess with the following rules:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  • 3 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

Enabling TLS 1.1 and 1.2 support for Outlook on Windows7

There are two way to resolve it:   Install the KB3140245 update, either via Windows Update —...

Enable Lets Encrypt for shared hosting

There is no need to take any action, the SSL cert will be automaticly installed as long as your...