“Too many redirects” (ERR_TOO_MANY_REDIRECTS) means the browser is bounced between URLs in a loop. With WordPress too many redirects errors, the usual causes are mismatched WordPress Address and Site Address, conflicting HTTPS redirects (often Cloudflare’s Flexible SSL mode), duplicate redirect rules in .htaccess or plugins, and stale cookies or cache. Clear cookies first, then check site URLs, SSL settings and redirect rules.
“This page isn’t working — redirected you too many times.” That is the WordPress too many redirects error. This error means your browser is stuck in a loop: page A sends it to page B, and page B sends it straight back. WordPress sites usually end up here after a change to HTTPS, a URL setting, a redirect plugin or a CDN such as Cloudflare.
The fix is to find the two settings that disagree and make them agree. This guide shows the usual suspects in the order they most often cause trouble.
Redirect loops are almost always configuration conflicts. Fix them methodically.
Important: Take a backup before editing wp-config.php, .htaccess or the database — see how to back up WordPress.
How to fix WordPress too many redirects
- Clear cookies and cacheTry a private window and purge your caching plugin and CDN.
- Check site URLsIn Settings → General, WordPress Address and Site Address must match exactly (https and www included).
- Fix Cloudflare SSL modeIf you use Cloudflare, set SSL/TLS to “Full (strict)”, not “Flexible”.
- Review .htaccessLook for duplicate HTTP→HTTPS or www rules, or reset it to the WordPress default.
- Disable redirect pluginsSSL, redirect, caching and security plugins can add conflicting rules.
- Check hosting redirectsSome hosts have their own “force HTTPS” or domain redirect settings.

// wp-config.php — set URLs directly if you cannot open Settings → General
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );
Behind a proxy or load balancer?
If HTTPS ends at a proxy or CDN, WordPress may think requests are HTTP and keep redirecting. Many hosts handle this automatically; otherwise your host can confirm the correct HTTPS detection settings.
Common loop combinations
| Setting A | Conflicting setting B | Fix |
|---|---|---|
| Cloudflare SSL mode “Flexible” | WordPress forcing HTTPS | Set Cloudflare SSL to “Full (strict)” |
| Site URL uses http:// | Server redirects to https:// | Update WordPress and Site Address to https:// |
| Site URL uses www | Host redirects to non-www | Choose one version everywhere |
| Redirect plugin rule | .htaccess or host redirect | Remove the duplicate rule |

Prevent redirect loops
- Choose one canonical URL (https and www or non-www) and use it everywhere.
- Use one place for site-wide redirects.
- Document Cloudflare and host SSL settings.
- Test redirects after changing plugins, hosts or CDN settings.
Related: SSL and HTTPS setup and Cloudflare setup.
For a complete diagnostic method, see our WordPress troubleshooting guide.
Frequently asked questions
What causes too many redirects in WordPress?
Common causes are mismatched site URLs, conflicting HTTPS redirects between WordPress, the server and a CDN, duplicate .htaccess rules, redirect plugins and stale cookies.
Does Cloudflare cause redirect loops?
It can, when the SSL mode is set to Flexible while your server also forces HTTPS. Use Full (strict) with a valid certificate on your server.
Will clearing cookies fix the redirect error?
Sometimes, if an old cookie is involved. If the loop continues in a private window, the problem is in your site or server configuration.
Can a plugin cause too many redirects?
Yes. SSL, redirect, multilingual, caching and security plugins can create conflicting redirects. Disable them to test.
Can a caching plugin cause a redirect loop?
Occasionally, if cached redirects conflict with new settings. Clear all caches after changing URLs or SSL settings.
How do I edit site URLs if I cannot log in?
Define WP_HOME and WP_SITEURL in wp-config.php, or update the siteurl and home values in the database.
Does a redirect loop affect SEO?
Yes. Search engines cannot reach looping pages, so fix the problem quickly and check Search Console afterwards.
Further reading: the official WordPress documentation.







