Plain-English guide
What is HSTS, and does your website need it?
You have sorted your certificate and set up a redirect so plain http visitors are sent to the secure address. That feels like the job done, and mostly it is. There is still one small window, though: the very first request, before the redirect kicks in, travels unprotected. HSTS is the setting that closes that window for returning visitors. It is simple, sensible, and needs a little thought before it goes on.
By Matt Rooney · 17/11/2026 · T19 Digital · 5 min read
The short version
- HSTS makes a browser use your secure address without being redirected first.
- Once set, browsers remember it for as long as you tell them to.
- Every part of your domain must work over https before you switch it on.
What the letters stand for, and what they do
HSTS stands for HTTP Strict Transport Security. Strip away the jargon and it is a single header your server sends, saying: from now on, only ever contact this site over a secure connection, and remember that for a stated length of time. A browser that receives it makes a note. The next time someone using that browser types your address or follows an old http link, the browser quietly switches to https before sending anything at all.
The difference from a redirect is where the switch happens. A redirect relies on the browser first asking for the insecure address and being told to move. HSTS moves the decision into the browser itself, so the insecure request never leaves the device. For returning visitors, the unprotected first step disappears.
It is not a new technology or an expensive extra. Every mainstream browser has understood the instruction for a long time, and adding it is a matter of one line in your server's settings. The thought goes into choosing how long browsers should remember it, not into making it work.
Why the first request matters
On a trusted home connection, a single insecure request that is immediately redirected is unlikely to cause harm. The concern is shared networks: hotel wifi, a busy station, a café with an open connection. On those, someone with bad intentions and the right setup can in principle interfere with an unprotected request before the redirect arrives, sending the visitor somewhere they did not mean to go.
HSTS removes that opportunity for anyone who has visited your site before. It does not need the visitor to do anything or know anything. It also makes browsers stricter about certificate problems on your site, refusing to let visitors click past a warning, which is the right behaviour for a site that should always be secure.
For a small business site this is not dramatic protection against a common threat. It is a sensible, low-cost layer that makes a rare kind of trouble rarer still, which is exactly what good security housekeeping looks like. Most of security for a small firm is like that: dull, inexpensive steps that remove easy opportunities.
The catch: browsers remember
The strength of HSTS is also the thing to be careful with. The header includes a duration, and browsers honour it. If you tell them to insist on https for a long period and something later goes wrong with your certificate, or a part of your domain was never set up for https, visitors who have the setting stored cannot get in until it is fixed. There is no way to reach into their browsers and undo it.
There is also an option to apply the rule to every subdomain, such as a booking or shop address that sits under your main domain. That is good practice where every subdomain is ready, and a nuisance where one old address still only works over http. Browsers can also be told about your site in advance through a shared list, which is stronger still and harder to back out of, so it suits sites that are certain about their setup.
The sensible approach is to start with a short duration, confirm nothing breaks, then lengthen it. That is the cautious path rather than the clever one, and it is the right one for a working business. Lengthening it later takes moments, whereas shortening it does not reach browsers that already remember the longer period.
What our scan looks for
On its single visit to your home page, the check reads whether the HSTS header is present and whether it looks sensibly set. It does not try anything risky to test it. A missing HSTS header on an otherwise sound site will usually show up as a medium or minor finding, because the site still works and the redirect still does most of the job.
If your site does not redirect to https at all, or the certificate has problems, those will appear as findings in their own right, and they come first. HSTS is the finishing touch on a secure connection, not a substitute for having one.
An example: a pet sitter in Harrogate
Suppose a pet sitter in Harrogate gets much of her work from people booking cover while they are away. Her regular clients often open her site from hotel rooms and holiday lets to check availability or send a message about a change of plans, usually on whatever wifi happens to be available.
Her site has a valid certificate and a redirect, and the check shows HSTS missing. For a business whose customers routinely browse from shared networks, the header is a small, sensible addition. Once it is in place, a returning client who taps an old http link from a hotel lobby goes straight to the secure site without ever making the unprotected request. She notices nothing different, which is the point.
Before it goes on, the one question worth asking is whether she has any other address under her domain, such as an old booking page, that has never had a certificate. If so, that gets sorted first. Otherwise a client following that old page would find it refused, and she would be left wondering why for weeks.
When HSTS can wait, and getting it right
If your site still has certificate problems, mixed content or no redirect, leave HSTS until those are sorted, because it will make any remaining https problem more visible to visitors, not less. And if your site lives on a hosted builder, the platform may already send it, or may not let you change it, in which case there is nothing for you to do.
The free check will tell you in about thirty seconds whether HSTS is there. If it is missing alongside other issues, our Security fix starts from £295 + VAT, agreed before any work begins, and the header is added with a sensible duration rather than an aggressive one. A care plan, from £29 a month + VAT for a website, keeps it in place as hosting and certificates change.
Questions we get on this
Is HSTS the same as having an SSL certificate?
No. The certificate makes a secure connection possible. HSTS tells browsers to insist on using that secure connection every time. You need the certificate first; HSTS is an instruction added on top once everything works over https.
Can HSTS take my website offline?
It cannot take a working site offline, but if your certificate later fails or a subdomain is not secure, visitors with HSTS stored will be locked out of the affected parts until it is fixed. Starting with a short duration limits that risk.
Does HSTS protect first-time visitors?
Not on its own, because the browser has not yet received the instruction. The redirect still covers that first visit. There is a shared list browsers check in advance, which covers first visits too, but it is harder to undo.
Will HSTS help my Google ranking?
Not directly. Search engines prefer secure sites, but HSTS is about protecting visitors rather than search position. Nobody can promise a ranking change from adding it, and we do not.
Three things like this, once a month
What actually changed for small businesses in tech, what to do about it, and the guides we publish. No pitch, and you can leave with one click.
Check your own website
A free, passive scan of your home page and public DNS records. You get a score in about thirty seconds.