webzod
account

Fix the broken HTTPS redirect chain on WordPress

headers.redirect.broken · effort: about an hour

Why it matters

Requests to the HTTPS site loop, bounce through too many redirects or get no answer, so visitors see an error instead of the site. This usually comes from two layers redirecting against each other, or from a server that accepts TLS but has no site set up for this name.

The fix

  1. Compare WordPress Address and Site Address (Settings, General) with the host and scheme your server or CDN redirects to. If WordPress wants www and the server wants the apex, or WordPress wants http and the server forces https, they loop.
  2. Use one place for redirects: disable redirect options in SSL or redirect plugins when the server or CDN already redirects. Behind Cloudflare, avoid Flexible mode.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.