Re-enable HSTS (max-age is zero) on Squarespace

tls.hsts.disabled · effort: minutes

Why it matters

A max-age of zero tells browsers to forget HSTS, so the site is sending the header but gaining no protection from it. It is often left over from a rollback.

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

  1. In your Squarespace site, open Settings then Domains (older sites: Settings then Advanced) and find the SSL options, or type SSL into the settings search.
  2. Choose HSTS Secure so that Squarespace sends a Strict-Transport-Security header with a real max-age, and save.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.