Key takeaways
- A redirect checker shows the hops that form the loop.
- Most loops come from HTTPS or www rules defined in two places.
- Browsers cache 301s — clear the cache after fixing.
ERR_TOO_MANY_REDIRECTS (or “This page isn’t redirecting properly”) means the browser was sent round in a circle — page A redirects to B, and B redirects back to A — until it gave up.
Find the loop
Run the URL through a redirect checker. You’ll see each hop, for example:
http://example.com → 301 → https://example.com
https://example.com → 301 → http://example.com ← loop
The hops show which rule is fighting which.
Common causes
HTTPS forced in two places
A CDN or proxy set to connect to your server over plain HTTP, while your server redirects HTTP to HTTPS, loops forever. If your CDN has an SSL mode setting, use the mode that connects to the origin over HTTPS (with a valid certificate on the server).
www and non-www rules that disagree
One rule sends www to the bare domain while another sends the bare domain to www. Keep exactly one canonical version and one rule.
WordPress address mismatch
In Settings → General, the WordPress Address and Site Address must match the URL you actually use, including https:// and www. If you can’t log in, set them in wp-config.php:
define('WP_HOME', 'https://example.com');
define('WP_SITEURL', 'https://example.com');
Plugins
Redirect, SSL and caching plugins can add their own rules. Disable them one at a time to find the conflict.
After fixing
Clear your browser cache and cookies for the site — browsers cache 301 redirects, so an old loop can persist after you’ve fixed it. Then purge your CDN and caching plugin.