Raise the HSTS max-age on Shopify

tls.hsts.short_max_age · effort: minutes

Why it matters

A short HSTS lifetime means browsers forget the HTTPS-only rule quickly, so visitors who return later are exposed again. A lifetime of at least six months, and ideally one year, keeps them protected.

Staged change. Do this in stages and check each one before the next, so a mistake does not break your site or your mail.

The fix

Not possible on Shopify. Shopify sends the Strict-Transport-Security header of its stores itself and does not let stores change its max-age. Set by Shopify: you can't change this. Contact Shopify Support if you need a longer policy.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.