Skip to content
Get help
Home/Bug Fix Library/WordPress Redirect Loop

WordPress Bug Fix Library

WordPress Redirect Loop

Fix WordPress ERR_TOO_MANY_REDIRECTS problems caused by HTTPS, site URL, reverse proxy, cache, CDN, plugins or rewrite rules.

Reviewed and updated 2026-09-06

Quick answer

A redirect loop happens when two layers disagree about the canonical URL or keep redirecting the same request between states such as HTTP/HTTPS, www/non-www or login/non-login.

Symptoms

  • Browser displays ERR_TOO_MANY_REDIRECTS.
  • The site alternates between HTTP and HTTPS or www and non-www.
  • Only wp-admin or login loops.
  • The problem appears only behind Cloudflare, a proxy or a caching layer.

Common causes

The same visible WordPress error can have several causes. A reliable fix starts by matching the symptom to logs, request behavior and recent changes.

  • WordPress home/siteurl values do not match the intended domain.
  • Reverse proxy does not pass or interpret HTTPS correctly.
  • Conflicting redirects in .htaccess, hosting panel and CDN.
  • Plugin-level canonical or SSL redirects.
  • Cached 301/302 responses.

Safe diagnosis

  1. Trace the redirect chain and record each Location header.
  2. Confirm one canonical scheme and hostname across WordPress, server and CDN.
  3. Check proxy HTTPS headers and origin configuration.
  4. Temporarily bypass caches to test the origin behavior.

Production safety: create a recovery point before changing code, plugins, database values or server configuration. Business-critical WooCommerce sites should avoid random deactivate/update experiments during active traffic.

How the issue is fixed

  • Remove duplicate or contradictory redirect rules.
  • Correct WordPress URLs and proxy HTTPS detection.
  • Keep one authoritative canonical redirect path.
  • Purge redirect caches after the server behavior is correct.

Avoid this shortcut: Do not stack new redirect rules on top of an unknown existing chain. First identify where every redirect is generated.

When to request expert WordPress bug fixing

Professional troubleshooting is useful when the site is business-critical, the error returns after a temporary fix, wp-admin is unavailable, the failure began after a complex update/migration, or you cannot identify the responsible code from logs. WP•FIX focuses on the smallest safe change that restores the failing path and explains the root cause.

FAQ

Can cookies cause a redirect loop?

Yes, especially around login and authentication flows, but site-wide loops more often involve URL or HTTPS configuration.

Does clearing the browser cache fix it?

It can clear a cached redirect, but it will not repair a server-side loop.

Can Cloudflare Flexible SSL cause loops?

It can when the origin forces HTTPS while the proxy connects to the origin over HTTP. SSL mode and origin redirects must agree.

Why does only wp-admin loop?

Authentication cookies, admin URL rules or security plugins can create an admin-specific redirect cycle.

Need this WordPress issue fixed?

Send the URL, error message and what changed immediately before the problem started.

Request troubleshooting

Professional WordPress troubleshooting

Need this issue fixed on a live site?

Send the site URL, exact symptom and what changed before the problem started. The dedicated bug-fix intake keeps technical repair requests separate from malware incidents.

Do not send passwords or hosting credentials in the form. Access is requested separately only if needed.

Your next step

Tell us what
needs attention.

Start with the site URL and what you are seeing. The WP Fix team will review the details and reply by email.

  1. We clarify the issue and the outcome you need.
  2. We confirm scope, availability and price.
  3. We agree on access and the work before making changes.

No passwords needed to start. Timing depends on the issue and current availability.

About: WordPress Redirect Loop

Please do not include passwords or access keys. We use your details to respond to this enquiry. Web3Forms processes the submission.