DomainLens

Apprendre

Security Headers Checker: Read HSTS, CSP and Browser Protection

Security headers protect browser behavior. They matter for safe delivery and reliable rendering, even though they are not a shortcut to rankings.

Vérifiez votre site avant de corriger

Lancez un audit DomainLens frais et utilisez le rapport comme liste de priorités.

Lancer un audit SEO gratuit

Read headers as browser rules

Security headers tell the browser how to handle a response. HSTS prefers HTTPS, Content-Security-Policy restricts resource origins, X-Content-Type-Options blocks type sniffing, and Referrer-Policy limits referral data. A correct policy reduces avoidable browser risk; it does not make weak content rank.

A policy can also break a site if it blocks a required script, image, font or API. Test the rendered production page after tightening CSP, rather than treating a scanner pass as final proof.

Code on a screen representing HTTP security header configuration
Headers are response-level controls and must be checked on the live final URL.

Check policy with the actual response

Run the HTTP headers checker against the final URL, read the security headers guide , and use the JavaScript SEO guide if a blocked resource changes rendered content.

HeaderUseful verification
HSTSHTTPS is stable before enforcing it
CSPConsole has no blocked essential resource
X-Content-Type-OptionsScripts/styles send correct content type
Referrer-PolicyAnalytics and partner flows retain needed data

Ressources associées