HSTS HTTP Strict Transport Security Not all security headers
-
Hi,
This message in the site health screen has been appearing and disappearing for months:
Your website does not send all recommended security headers.
HTTP Strict Transport SecurityMy .htaccess includes:
<IfModule mod_rewrite.c>
Header always set Content-Security-Policy “upgrade-insecure-requests”
Header always set Strict-Transport-Security “max-age=63072000; includeSubDomains; preload” env=HTTPS
Header always set X-Content-Type-Options “nosniff”
Header always set X-XSS-Protection “1; mode=block”
Header always set Expect-CT “max-age=7776000, enforce”
Header always set Referrer-Policy: “no-referrer-when-downgrade”
Header always set X-Frame-Options: “SAMEORIGIN”
Header always set Permissions-Policy: “accelerometer=(self), autoplay=(self), camera=(self), document-domain=(self), encrypted-media=(self), fullscreen=(self), geolocation=(self), gyroscope=(self), magnetometer=(self), microphone=(self), midi=(self), payment=(self), picture-in-picture=(self), sync-xhr=(self), usb=(self)”
</IfModule>And securityheaders.com gives me A+ including: Strict-Transport-Security
strict-transport-security max-age=63072000; includeSubDomains; preloadIs this being mis-reported in Site Health?
(All similar threads have been locked.)
Thanks in advance for your help and Really Simple SSL is a great plugin.
Cheers,
Andy
The page I need help with: [log in to see the link]
- The topic ‘HSTS HTTP Strict Transport Security Not all security headers’ is closed to new replies.