WordPress fix guide
HSTS max-age Too Short on WordPress
HSTS header is present but max-age is under 1 year. Browsers will not cache the HTTPS preference long enough for reliable protection.
Issue ID: SEC-HSTS-002Severity: minorEffort: S
Why this matters
HSTS header is present but max-age is under 1 year. Browsers will not cache the HTTPS preference long enough for reliable protection. This affects browser trust signals and whether visitors feel safe submitting contact details.
WordPress fix path
How to fix this on WordPress
Use the page editor, theme, or SEO tooling depending on where this issue lives.
- 1Inspect the page and theme output.
- 2Apply the fix in the most direct place.
- 3Publish and validate with a re-audit.
After you fix it
- ✓Check that max-age is at least 31536000
Same fix, other platforms
Fix hsts max-age too short on a different CMS
Other fixes
More WordPress fixes
Parents
Related guides
See every WordPress issue on your site
This is one issue of many the full audit checks. Run a free scan to see what else might be holding your site back.
Run Free Audit