Basic protective headers are missing
Your server does not send one or more of the three headers every website should have. They tell browsers to always use HTTPS, not to guess file types, and not to let other sites show your pages inside a frame.
Why it matters
Each of them closes a known way of attacking visitors: listening in on the first request, slipping in a file as something it is not, or laying an invisible copy of your page under a fake button. A site that gets abused this way ends up flagged in browsers and in search.
How to fix it
- 1
Add the missing headers in your web server, CDN or security plugin. Each is a single line.
- 2
"Strict-Transport-Security: max-age=31536000; includeSubDomains" (only once every subdomain works over HTTPS).
- 3
"X-Content-Type-Options: nosniff".
- 4
"Content-Security-Policy: frame-ancestors 'self'" or "X-Frame-Options: SAMEORIGIN".
- How serious is it?
- Warning
- Issues worth fixing once the errors are handled.
- How much work is it?
- Quick fix
- Usually minutes of work.
Further reading: MDN: HTTP security headers
Does your site have this issue?
Check a page for free, or create an account to test your whole website.