webzod
account

Stop redirecting HTTPS to HTTP on Netlify

headers.redirect.https_downgrade · effort: about an hour

Why it matters

The HTTPS homepage sends visitors back to plain http, so the encrypted connection is thrown away and their traffic is exposed again. It usually means the application believes its address starts with http:// or a redirect rule points the wrong way.

The fix

  1. Check _redirects and the [[redirects]] entries in netlify.toml for destinations that start with http:// and change them to https://.
  2. Check functions or framework code that build absolute URLs, then redeploy.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.