How to force redirection to HTTPS Печать

  • force https, https, https redirection, htaccess, rewriteengine
  • 0

To force visitors to use HTTPS to access your site via your SSL certificate is to add the following to the top of a .htaccess file:

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

Помог ли вам данный ответ?

« Назад

Powered by WHMCompleteSolution