WordPress Too Many Redirects (ERR_TOO_MANY_REDIRECTS)

Share
Workaround available Self-hosted WordPress (WordPress.org) Updated November 13, 2026Based on 4 user reportsHow we research

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. 1. Clear cookies and cache

    1. Clear cookies for the site or open a private window. A stale cookie alone can cause the loop.
    Did this fix it?
  2. 2. Make the URLs match

    1. In Settings > General make WordPress Address (URL) and Site Address (URL) identical and both https://.
    2. 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. 3. Check Cloudflare or proxy SSL mode

    1. In Cloudflare go to SSL/TLS and use Full or Full (Strict) rather than Flexible when your origin already redirects to HTTPS.
    2. 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. 4. Disable redirect and SSL plugins

    1. 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. 5. Reset .htaccess

    1. 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 quote
Fixed it? Share this guide

The same problem in other apps

All not loading, error messages & connection guides →

Other WordPress errors

All 11 WordPress errors and fixes →