WordPress Redirect Loop Step By Step Fix? Fix It with This Troubleshooting Order

Related Hub: WordPress Issues & Fixes

Quick Answer: WordPress Issue is usually caused by session, network, or access filtering issues. Restart the app/browser, clear cache, and retry on a different network. Start with the fastest checks before assuming a deeper system issue.

What’s causing this issue?

  • Session problem
  • Cache conflict
  • Network filtering
  • Temporary service-side issue

⚡ Quick Diagnosis

If you're using WiFi → try mobile data

If you are using VPN or proxy → turn it off

If it still fails everywhere → check whether WordPress is down

Quick answer: A WordPress redirect loop is usually caused by a bad URL setting, cached redirect, plugin conflict, cookie/session issue, or HTTPS/CDN rule mismatch. Follow the steps below in order to clear the loop and identify the exact cause fast.

Start with browser and cache checks, then test plugins, URL settings, and redirect rules before making bigger changes.

Quick Fix Checklist

  • Open the site in a private/incognito window.
  • Clear browser cache and cookies for the affected WordPress site.
  • Turn off browser extensions, especially ad blockers, privacy tools, and redirect managers.
  • Try a different browser profile or another browser.
  • Check whether the loop happens on the login page, wp-admin, or the whole site.
  • Confirm WordPress Address (URL) and Site Address (URL) match.
  • Temporarily disable redirect, security, cache, and CDN plugins.
  • Purge all cache layers: plugin cache, server cache, and CDN cache.
  • Check .htaccess or redirect rules for duplicate or forced HTTPS redirects.

⚡ Fast diagnosis

Only one browser is affected: usually cookies, cache, extensions, or browser profile corruption.

Only wp-admin or login loops: usually cookies, site URL mismatch, security plugin, or login redirect settings.

The whole site loops for everyone: usually plugin conflict, HTTPS/CDN rule, .htaccess redirect, or reverse proxy misconfiguration.

Causes

A WordPress redirect loop happens when the browser is sent from one URL to another repeatedly and never reaches the final page.

Cause Fix
Browser cookie or cached redirect Clear site cookies, cache, and test in incognito mode
WordPress URL and Site URL do not match Set both URLs to the same correct domain and protocol
Plugin conflict Disable redirect, cache, security, SEO, and login-related plugins
HTTPS or CDN rule conflict Remove duplicate force-HTTPS rules and purge CDN cache
.htaccess redirect loop Restore default WordPress rewrite rules and retest
Cloudflare or proxy misconfiguration Check SSL mode and redirect settings so they do not conflict with origin rules
Login/session issue Clear cookies and test with default login behavior
Recent update conflict Roll back the last plugin/theme update or update all components fully

The most common pattern is a conflict between browser-stored redirects and a second redirect being forced by WordPress, a plugin, or a CDN.

Step-by-Step Fix

  1. Test in an incognito/private window.
    If the site works there, the problem is likely cached cookies, saved redirects, or an extension in your normal browser session.
  2. Clear cookies and cache for the site.
    Delete cookies for the affected domain, then hard refresh the page. This is especially important if the loop started after changing the site URL, SSL, or login settings.
  3. Disable browser extensions.
    Turn off privacy extensions, ad blockers, script blockers, password managers, and redirect tools. Some extensions interfere with login cookies or force HTTPS in a way that creates loops.
  4. Try another browser or browser profile.
    If the issue only happens in one profile, the problem is local to that browser session rather than WordPress itself.
  5. Check WordPress Address and Site Address.
    In WordPress settings, make sure both URLs are correct and use the same version of the domain, such as either https://example.com or https://www.example.com. A mismatch can trigger endless redirects.
  6. Disable plugins in this order.
    Start with redirect plugins, cache plugins, security plugins, SEO plugins, maintenance plugins, and login/custom URL plugins. Reactivate them one by one to find the conflict.
  7. Switch temporarily to a default theme.
    If the loop began after a theme update or custom theme change, test with a default WordPress theme to rule out custom redirect logic.
  8. Reset .htaccess to default WordPress rules.
    Remove custom redirect blocks temporarily and keep only the standard WordPress rewrite rules. Then save permalinks again from the dashboard if you can access it.
  9. Purge every cache layer.
    This is the advanced fix many guides miss. Clear browser cache, plugin cache, hosting cache, object cache, and CDN cache. A stale redirect at any layer can keep sending users to the wrong URL even after the real issue is fixed.
  10. Check HTTPS and proxy settings.
    If you use Cloudflare or another proxy, make sure SSL mode matches your origin setup. For example, forcing HTTPS in both the CDN and the server can create a loop if they disagree about the request protocol.
  11. Review login and cookie behavior.
    If the loop only affects wp-login.php or wp-admin, test with security and custom login plugins disabled. Cookie path, domain, or session handling problems often cause admin redirect loops.
  12. Undo the most recent change.
    If the issue started after an update, migration, domain change, or SSL install, reverse that change first. Redirect loops often begin immediately after configuration changes rather than random failures.

Still Not Working

If the redirect loop continues after the basic fixes, move to deeper troubleshooting.

  • Check the exact redirect chain: Use your browser developer tools or an online redirect checker to see which URLs are bouncing back and forth.
  • Look for mixed redirect logic: A plugin may force non-www while the CDN forces www, or WordPress may force HTTPS while the server sends users back to HTTP.
  • Test with all plugins off: If the loop stops, re-enable plugins one at a time until the issue returns.
  • Review recent update conflicts: A plugin update can change login, security, or canonical redirect behavior. Roll back the last updated plugin if needed.
  • Check browser-specific edge cases: Strict privacy settings, blocked third-party cookies, or corrupted browser profiles can break WordPress login sessions.
  • Purge CDN and edge cache again: Some services keep redirect rules cached at the edge even after local fixes are made.
  • Temporarily disable the CDN/proxy: If the site works without it, the loop is likely in edge rules, SSL mode, or page rules.
  • Reinstall the affected plugin: If one plugin clearly triggers the loop, remove and reinstall it, then reconfigure its redirect settings carefully.
  • Escalate to hosting or plugin support: Share the exact looping URLs, when it started, and what changed just before the issue began. That shortens diagnosis time.

If you cannot access wp-admin at all, use your hosting file manager or FTP to disable plugins by renaming the plugins folder, then restore access and troubleshoot from there.

How do I fix a WordPress redirect loop after changing the site URL?
Clear browser cookies, confirm both WordPress URL settings match exactly, and purge plugin, server, and CDN cache. URL mismatches are one of the most common causes after a domain or SSL change.

Why does WordPress keep redirecting to the login page?
This usually points to a cookie or session problem, a security plugin conflict, or blocked login cookies in the browser. Test in incognito mode and disable login-related plugins first.

Can a cache plugin cause an endless redirect in WordPress?
Yes. A cache plugin can store an old redirect or conflict with HTTPS and canonical URL rules. Purge all cache and temporarily disable the plugin to confirm.

How do I fix ERR_TOO_MANY_REDIRECTS in WordPress with Cloudflare?
Check that Cloudflare SSL mode matches your origin SSL setup and remove duplicate force-HTTPS rules. Then purge Cloudflare cache and retest.

Why does the redirect loop happen in one browser but not another?
That usually means the issue is local to the browser: cached redirects, bad cookies, extensions, or a corrupted browser profile. Clearing site data or using a fresh profile often fixes it.

Frequently Asked Questions

How do I fix a WordPress redirect loop after changing the site URL?

Clear browser cookies, make sure the WordPress Address and Site Address match exactly, and purge all cache layers including plugin, hosting, and CDN cache.

Why does WordPress keep redirecting me back to the login page?

This is usually caused by broken login cookies, a session issue, blocked cookies in the browser, or a security or custom login plugin conflict. Test in incognito mode and disable login-related plugins.

Can a plugin cause ERR_TOO_MANY_REDIRECTS in WordPress?

Yes. Redirect, cache, security, SEO, and login plugins can all create loops if their rules conflict. Disable them one by one to find the trigger.

How do I fix a WordPress redirect loop with Cloudflare?

Check Cloudflare SSL mode, remove duplicate HTTPS redirects between Cloudflare and your server, and purge Cloudflare cache after making changes.

Why does the redirect loop only happen in one browser?

That usually means the browser has stale cookies, cached redirects, extension interference, or a damaged profile. Clear site data and test with a clean browser profile.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top