Strict-Transport-Security (HSTS) header
Tells browsers to reach this site over HTTPS only, for a set time, so a downgrade never gets the chance. Counted as strong at a max-age of six months or more.
HSTS (HTTP Strict Transport Security) tells the browser: for the next N seconds, open this site only over HTTPS. After the first visit, the browser rewrites any http:// link to https:// itself, before a request leaves the device. That closes the gap a redirect leaves open — the first unencrypted request, which an attacker on public Wi-Fi can intercept to strip HTTPS away. It also turns certificate warnings into hard errors that the visitor cannot click through.
How SiteScan grades it
The scanner reads the max-age value. Six months (15,552,000 seconds) or more is “Strong”; a shorter value is “Weak”, because protection lapses too quickly between visits. No header is “Missing”. The header only counts when sent over HTTPS — browsers ignore it on plain HTTP.
Recommended value
Strict-Transport-Security: max-age=31536000; includeSubDomains
Start with a short max-age (for example 300) if you are not sure every subdomain works over HTTPS, then raise it to a year. Add includeSubDomains only when all subdomains do, and preload only once you meet the preload list terms. Make sure the http → https redirect is in place too.
See this check on your own site
Run a free scan: the report shows this row for your domain along with the other checks of the site audit.
More in “Security headers”
What SiteScan checks
TLS certificate
- TLS certificate expiry
- Outdated TLS versions (TLS 1.0/1.1)
- TLS certificate chain
- TLS certificate issuer
- Certificate signature algorithm
Domain registration
- Domain registration expiry
- Registered domain name
- Domain registrar
- Domain registration date
- Domain last updated date
- Domain status codes (EPP)
- Domain transfer lock
- Registrar abuse contact
- RDAP and WHOIS data source
Indexing
- robots.txt file
- CSS and JS blocked in robots.txt
- XML sitemap
- Sitemap index file
- Off-domain URLs in the sitemap
- Sitemap lastmod dates
- Broken URLs in the sitemap
- RSS and Atom feed
Addresses & redirects
Security headers
- HTTP security headers and grade
- Strict-Transport-Security (HSTS) header
- Content-Security-Policy (CSP) header
- X-Content-Type-Options: nosniff
- X-Frame-Options and clickjacking
- Referrer-Policy header
- Permissions-Policy header
- HSTS preload list
- CORS and cross-origin reads
- HTTP TRACE method
Delivery & reputation
- Cache-Control header for HTML
- ETag and Last-Modified revalidation
- HTTP/3 and QUIC support
- Server version disclosure in headers
- DNS blocklist (DNSBL) check
Internal links
Exposure
- Exposed sensitive files (.env, .git, backups)
- Directory listing enabled
- Public JavaScript source maps
- Exposed WordPress endpoints
Well-known files
- security.txt file
- llms.txt for AI assistants
- llms-full.txt file
- ads.txt authorized sellers file
- humans.txt file
- Well-known change-password URL
DNS & email
- MX records (mail servers)
- SPF record
- DMARC record and policy
- DNSSEC signing
- CAA record
- Nameserver redundancy
- IPv6 support (AAAA record)
- MTA-STS policy
- TLS-RPT reporting record
- BIMI record (brand logo in email)
- Wildcard DNS record
- Dangling CNAME and subdomain takeover
Privacy & consent
- Analytics and tracking scripts
- Cookie consent banner
- Privacy policy link
- Terms of service link
- Imprint (Impressum)
- Accessibility statement
Core Web Vitals
- Lighthouse performance score
- Largest Contentful Paint (LCP)
- Cumulative Layout Shift (CLS)
- Interaction to Next Paint (INP)
- CrUX field data vs lab data