Missing security headers: which to add and why
Check for missing security headers like HSTS, CSP and X-Content-Type-Options. See which recommended headers your pages lack and how to add them.
What it means
Security headers are HTTP response metadata that tell browsers how to handle the page. Missing recommended ones means the server isn't sending headers like HSTS, X-Content-Type-Options, X-Frame-Options, or Content-Security-Policy.
Why it matters
These headers affect how Googlebot and AI agents interpret the response. HSTS enforces HTTPS, which is a ranking signal. X-Content-Type-Options prevents content-type sniffing that can cause misinterpretation of resources. Content-Security-Policy controls what scripts and styles the page loads, which can affect rendering if misconfigured. Missing headers can cause crawling delays or incorrect resource loading.
How to fix it
- Add HSTS header with
max-age=31536000; includeSubDomainsto enforce HTTPS - Set
X-Content-Type-Options: nosniffto prevent content-type sniffing - Configure
Content-Security-Policywith appropriate directives for your resource loading - Add
X-Frame-Options: DENYorSAMEORIGINto control cross-origin framing
Example
HTTP/2 200
content-type: text/html
# no HSTS, no CSP, no X-Content-Type-OptionsHTTP/2 200
content-type: text/html
strict-transport-security: max-age=31536000; includeSubDomains
content-security-policy: default-src 'self'
x-content-type-options: nosniffThese three headers cost nothing and are set once at the server/CDN. HSTS enforces HTTPS, CSP limits injection, nosniff stops MIME confusion.
When it's not a problem
If your site already serves over HTTPS and all resources load correctly in Search Console, the notice is mostly informational. It's worth fixing but not critical — these headers are not direct ranking signals, just best practices that prevent edge cases.
How Crawlinx detects it
On HTTPS pages we check the response headers for HSTS (Strict-Transport-Security), CSP (Content-Security-Policy), and X-Content-Type-Options. Any that are absent are listed. This is a notice — hardening, not a ranking defect.
How common is it?
12603 audited sites in our corpus currently show this issue. The breakdowns below show which platforms, gatekeepers, verticals and countries are most exposed.
FAQ
- Do security headers affect SEO?
- Not as a direct ranking factor. HTTPS itself is a signal; the headers are trust and safety hardening that also help pass some site-quality and security scanners.
Audit your own site — free
157 checks, internal PageRank, render-diff. No signup, results in ~30s.