WordPress Too Many Redirects (ERR_TOO_MANY_REDIRECTS)
Quick answer
A redirect loop usually comes from mismatched http/https URLs, a plugin or CDN SSL setting. Make WordPress Address and Site Address identical, then check Cloudflare SSL mode and redirect plugins.
Most likely fix: Clear cookies and cache
How to fix it
Try these in order — the most common fix is first.
1. Clear cookies and cache
- Clear cookies for the site or open a private window. A stale cookie alone can cause the loop.
Did this fix it?2. Make the URLs match
- In Settings > General make WordPress Address (URL) and Site Address (URL) identical and both https://.
- If locked out, add define('WP_HOME','https://yourdomain.com'); and define('WP_SITEURL','https://yourdomain.com'); to wp-config.php above the stop-editing line, then fix the values in the database and remove them.
Did this fix it?3. Check Cloudflare or proxy SSL mode
- In Cloudflare go to SSL/TLS and use Full or Full (Strict) rather than Flexible when your origin already redirects to HTTPS.
- Behind a proxy that terminates SSL, some users add code to wp-config.php that sets $_SERVER['HTTPS'] = 'on' when X-Forwarded-Proto is https. This is a community workaround, not official guidance.
Did this fix it?4. Disable redirect and SSL plugins
- Rename wp-content/plugins to plugins_old and retest. Reactivate one at a time, keeping only one tool responsible for HTTPS redirects.
Did this fix it?5. Reset .htaccess
- Rename .htaccess to .htaccess_old, then save Settings > Permalinks to regenerate it.
Did this fix it?
Symptoms
Browser says 'This page isn't working: example.com redirected you too many times' or ERR_TOO_MANY_REDIRECTS, often after installing SSL or moving the site.
Why it happens
- Site URL and Home URL use different protocols or domains
- HTTPS forced in two places (plugin, .htaccess, host and CDN)
- Cloudflare SSL mode set to Flexible while the origin also forces HTTPS
- Conflicting redirect, SSL or caching plugin
- Corrupted .htaccess
- Stale cookies
This guide also covers
- wordpress too many redirects
- err_too_many_redirects wordpress
- wordpress redirect loop
- wordpress too many redirects after ssl
Still not working?
If WordPress keeps failing, you're not alone. See every WordPress problem users report or the alternatives people switch to.
Done fighting WordPress? Our small team builds your own WordPress alternative, made for how you work. On your domain or hosted by us. Price agreed together.
Get a quoteThe same problem in other apps
All not loading, error messages & connection guides →
- Squarespace Domain Not Connecting (Squarespace)
- Wix Site Not Loading or Can't Be Reached (Wix)
Other WordPress errors
- WordPress White Screen of Death
- WordPress Error Establishing a Database Connection
- WordPress Critical Error: 'There Has Been a Critical Error on This Website'
- WordPress 500 Internal Server Error
- WordPress Stuck in Maintenance Mode: 'Briefly Unavailable for Scheduled Maintenance'
- WordPress 'Allowed Memory Size Exhausted' Fatal Error
- WordPress 'Updating Failed. The Response Is Not a Valid JSON Response'
- WordPress Posts Return 404 Not Found