Включване HTTP Strict Transport Security (HSTS) при WordPress (SSL)

EliaCapaccio

Well-Known Member
Enable HTTP Strict Transport Security (HSTS) on WordPress (SSL)


В .htaccess файла, това:
Код:
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS


И примерно да стане:
Код:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Header set Strict-Transport-Security "max-age=31536000" env=HTTPS


Резултат:

result.png
 
Последно редактирано:

Горе