Use a strong HSTS policy
In plain wordsBrowsers are told to always use the secure address.
This header tells browsers to use the secure address every time, even when a link says http. It closes the short gap before a redirect happens.
What it means
HSTS stands for HTTP Strict Transport Security. It is a header the server sends that tells a browser: for this site, always use the secure address, even if a link says http. The browser remembers that for as long as the header says.
A redirect alone leaves a short gap: the first request still goes out over plain http before it is redirected. With HSTS, the browser never makes that first unsafe request again.
What causes it
- It is not on by default at most hosts.
- It was set for the main address but is not sent on every response.
How to fix it
- Turn on HSTS at the host or CDN.
- Start with a short max-age, check that everything still works, then raise it.
Strict-Transport-Security: max-age=31536000; includeSubDomains
On your platform
- Cloudflare
- SSL/TLS, Edge Certificates, "HTTP Strict Transport Security (HSTS)".
- Other hosts
- Many have a switch for it. Otherwise it is one line in the server or host config.
Check it yourself
In the developer tools, look for a "strict-transport-security" response header on the page request.
Or run a free audit: it checks this and 53 other things on your page in about a minute, and shows the proof for each one.
How we test it
- What we look at
- The Strict-Transport-Security header.
- It passes when
- It is set.
- What it is worth
- 2 of 148 points in rule book 0.5, in Trust and privacy. A rule that cannot be checked on a page counts neither for nor against it.
Questions
Can HSTS break my site?
Only if part of the site cannot be served over https. That is why it is wise to start with a short max-age, such as a day, and raise it once everything works.
What is the preload list?
A list built into browsers of sites that must always use https. It is optional, and hard to undo, so it is not part of this check. Google's own test is stricter: it also asks for preload, includeSubDomains and a max-age of at least one year.
Sources
Where to read more, and where to check what this page says. Opened and read on 20 and 24 November 2026.
Also useful: what a good website score is, how we compare with PageSpeed Insights and the full rule book.
Does your website have this problem?
A free audit checks this and 53 other things, and shows the proof. About a minute, no email needed.