Brendan Tully0 Comments
October 9, 2026
HSTS (HTTP Strict Transport Security) usually gets filed under security. It’s a response header that tells browsers a site must only ever be loaded over HTTPS. It also has a real SEO role, and a couple of common misunderstandings about it can cost you if you get them wrong.
Here’s what HSTS does and doesn’t do for SEO, based on Google’s own documentation and what we see in technical SEO audits.
When a browser loads your site over HTTPS and sees the Strict-Transport-Security header, it stores a rule for as long as the header’s max-age says. From then on, if anyone types or clicks an http:// link to your site, the browser rewrites it to https:// before sending anything. In Chrome’s developer tools that shows up as a “307 Internal Redirect”.
Strict-Transport-Security
max-age
http://
https://
That 307 never comes from your server. It’s the browser enforcing a rule it has remembered, which is the key to understanding the SEO side.
Every page on an HTTPS site can technically exist at two addresses, http:// and https://. Google treats these as duplicates and picks one as canonical. Google says it prefers HTTPS pages as canonical “except when there are issues or conflicting signals”.
Google’s guide to consolidating duplicate URLs lists three ways to make sure the HTTPS version wins: redirect HTTP to HTTPS, add a canonical tag from the HTTP page to the HTTPS page, and implement HSTS. So HSTS is one of the signals Google itself recommends for this.
In practice this is where we’ve seen HSTS help. Sites with HTTP versions still appearing in Search Console, split signals between the two versions, or the odd HTTP URL in the index tend to clean up once redirects, canonicals and HSTS all point the same way.
This is the mistake to avoid. Googlebot doesn’t keep an HSTS list. Google’s John Mueller has explained that Googlebot crawls URLs “with a fresh slate” and accesses the HTTP URL directly, and that the 307 HSTS redirects are browser-only, not real redirects it follows.
So Googlebot still needs a server-side 301 redirect from every HTTP URL to its HTTPS equivalent. That’s what passes signals from old HTTP links to your HTTPS pages and what Google uses to discover the move. HSTS sits on top of that redirect for real visitors; it never replaces it.
Google is clear that some problems make it prefer HTTP very strongly, and that “implementing HSTS cannot override this strong preference”:
Fix these first. HSTS on a site with any of them is just one signal outvoted by the others.
Make sure the site works fully over HTTPS with a valid certificate first, because browsers will refuse to load it over HTTP once HSTS is on. Then:
Start with a max-age of six months and leave includeSubDomains and preload off until you’re sure every subdomain runs on HTTPS.
HSTS won’t jump you up the rankings on its own. What it does is remove one source of duplicate URLs, back up your redirects and canonicals with a signal Google explicitly recommends, speed up visits from old links and tick a security box that audits and customers now expect. Ten minutes of work for that is an easy call, as long as you keep your 301s in place.
If you’d like a full technical review of how your site handles HTTPS, redirects and canonicals, take a look at our SEO audit tools guide or get in touch.
Not directly. HTTPS is a lightweight ranking signal, and HSTS supports it by making sure the HTTPS version is the one Google treats as canonical.
No. Googlebot doesn’t store HSTS rules and crawls HTTP URLs directly, so it relies on your 301 redirects.
Only if HTTPS is broken. If your certificate expires or a subdomain has no certificate, browsers will refuse to load the site for visitors who have the HSTS rule. Keep certificates auto-renewing and be careful with includeSubDomains and preload.
Comments are closed.