Trakis

Trakis · Rules

HSTS header missing

Whether the home page sends the Strict-Transport-Security header, with a max-age above zero. Without it, browsers are not told to use only https for the site. Chrome tries https first anyway, but falls back to plain http when https fails, and someone on the same network can make it fail.

NoticeCRAWL-012 · Crawlability · checked once for the whole site

The HSTS header: what it does, now that browsers try https first

Updated 17 October 2026.

HSTS, HTTP Strict Transport Security, is one response header that tells a browser: for this site, use https only, from now on. This check reads it on the home page.

Strict-Transport-Security: max-age=31536000; includeSubDomains

What it does (MDN):

  • Once a browser has seen it, it turns every http:// request for the site into https by itself, before anything leaves the machine.
  • It no longer lets the visitor click through a certificate error on the site: no “proceed anyway”.
  • max-age is how long the browser remembers, in seconds (31536000 is a year); includeSubDomains covers every subdomain too; max-age=0 turns it off.
  • It is only read over https. Sent over http, browsers ignore it, so nobody in the middle can switch it on or off.

Why it still matters, now that Chrome tries https first. Chrome upgrades http links to https on its own, but falls back to http when https fails, and its own announcement says the upgrade cannot protect against an active attacker on the network (Chromium). HSTS has no fallback: the browser refuses plain http for the site. That is the difference, and it is why the header is still worth one line of configuration.

Its one gap, and the preload list. HSTS works from the second visit: the first request, before the browser has seen the header, is unprotected. The fix is the preload list, built into browsers, which accepts a site that (hstspreload.org):

  • serves a valid certificate, and redirects http to https on the same host;
  • serves every subdomain over https, the www one included;
  • sends the header on the base domain with max-age of at least a year, includeSubDomains and preload.

Preloading is hard to undo, since it ships inside browsers, and includeSubDomains covers every subdomain, internal ones too. Switch on includeSubDomains only once every subdomain serves https, and preload only after that has held for a while.

Ours, as it is. Asked on 17 October 2026:

curl -I https://trakis.io/
Strict-Transport-Security: max-age=31536000

curl -I https://demo.trakis.io/
(no Strict-Transport-Security)

trakis.io sends a year, without includeSubDomains, so it does not cover the demo shop; and the demo shop sends nothing, which its own report lists as this check’s notice on the example page. Adding includeSubDomains on trakis.io would cover the demo too, once we are sure every subdomain serves https: the rule we give above, applied to ourselves.

Check it yourself. curl -I https://your-address/, or the Network tab of the browser’s developer tools on the home page: look for Strict-Transport-Security in the response headers. On Cloudflare it is under SSL/TLS, Edge Certificates.

How the audit decides.

  • It reads the header on the home page served over https, once for the site: HSTS is a promise about the whole host.
  • No header, or max-age=0, is CRAWL-012, a notice, with what the server sent as the evidence. It does not ask for includeSubDomains or preload.
  • A site whose http address does not redirect to https is CRAWL-009, the fix to make first.

Sources, read on 17 October 2026: MDN Web Docs, Strict-Transport-Security · HSTS Preload List Submission, requirements · Chromium Blog, Towards HTTPS by default (16 August 2023).

How common it is

In our study of 330 small sites, read from Common Crawl’s October 2026 archive (up to 100 pages a site), 41.2% of them had this problem on one page or more.

Where it usually comes from

The header is off by default on most servers and CDNs; it has to be switched on.

If your SEO tool says…

The same problem, under the names other tools give it. Where a tool draws its line elsewhere, the note says how:

Wording from each tool’s own documentation, read on 13 October 2026.

How to fix it

  • Send Strict-Transport-Security: max-age=31536000 from the server or the CDN (on Cloudflare: SSL/TLS, Edge Certificates, HSTS).
  • Add includeSubDomains only once every subdomain serves https.

How to check it yourself

Look at the response headers of the home page (developer tools, Network tab) for Strict-Transport-Security.

What it looks like in a report

Notice The site does not send Strict-Transport-Security, so browsers are not told to use only https for it.

One header on the server or the CDN, set once for the whole site. (An example shop; the numbers are illustrative.)

How the audit counts it

CRAWL-012 is a notice in the crawlability category, and weighs lightly in that category’s score. It is a fact about the site as a whole, so it is reported once, not once per page.

If the finding is deliberate on your site, it can be accepted as intentional in the report. It then leaves the list and the score, and comes back on its own if what it shows changes.

Other crawlability checks

Find it on your site

A free Trakis audit runs this check and the other 66 on your site, and tells you on how many pages each one sits. Or go back to all the rules.