HTTP Strict Transport Security (HSTS) tells browsers: “only ever connect to this site over HTTPS”. It prevents attackers from downgrading a visitor to an insecure HTTP connection on public Wi-Fi.
What Shield sends
When Enable HSTS is ticked in Aegisify Shield → Security Headers → Standard headers, Shield sends this on HTTPS requests:
Strict-Transport-Security: max-age=31536000; includeSubDomains
That means browsers remember the rule for one year and apply it to all subdomains.
Why it is off by default
HSTS is hard to undo. Once a browser sees it, it refuses HTTP for that domain for a year. If any subdomain (for example mail.example.com or a staging site) does not have a valid HTTPS certificate, visitors will not be able to reach it.
Checklist before enabling
- Your whole site loads over HTTPS with a valid certificate.
- HTTP redirects to HTTPS.
- Every subdomain you use also has valid HTTPS.
- Your certificate renews automatically.
Then enable HSTS and save.
Warnings in Shield
Shield warns you if HSTS is enabled while the site is not being served over HTTPS, and the Header Health score flags HSTS as missing when it is off.
Related: Enable security headers, Security headers checklist.
