ERR_TOO_MANY_REDIRECTS is the error a browser displays when, while trying to open a page, it notices redirects following one another without ever reaching a final address. Chrome shows “This page isn’t working” and states that the domain redirected too many times; this is why it is commonly known as the “too many redirects error.” There is almost always a redirect loop behind it: address A sends to B, and B sends back to A.

This article first distinguishes whether the problem is in the visitor’s browser or on the site, then explains how to view the redirect chain. Based on official documentation, WordPress address settings, .htaccess rules, Cloudflare SSL mode, plugin conflicts, and loops after migration are examined individually. Onur Freelance is not an official WordPress support channel; the explanations are based on WordPress, Google, and Cloudflare documentation and our own repair process.

If your site is in a redirect loop, let us perform the initial diagnosis together

If the site will not open and the browser warns of too many redirects, read the redirect chain and identify the layer where the loop starts before changing settings randomly. The preliminary assessment is free; the scope of intervention is clarified in the initial consultation.

What does ERR_TOO_MANY_REDIRECTS mean, and why will the browser not open the page?

This error means the site sends the browser from one address to another and the route closes back on itself. Rather than wait forever, the browser stops after a certain number of redirects and displays the error screen. The server has not crashed; often everything is working, but two settings issue commands in opposite directions.

The most common loop patterns are as follows:

  • http ↔ https: One layer sends visitors to https, while another returns them to http.
  • www ↔ non-www address: A server rule requires www, while the WordPress setting forces the non-www address.
  • Old domain ↔ new domain: The old address remains in the database after migration, while the server redirects to the new address.
  • Login page loop: Only wp-admin will not open; the login screen repeatedly returns to itself.

Making corrections without knowing which loop is present often closes one loop and opens another. The first task is to distinguish where the problem is.

Is the problem with the visitor or the website?

If ERR_TOO_MANY_REDIRECTS appears in only one browser, the problem is most likely in that browser’s cookies or cache; if it appears on every device, the source is the website. This distinction takes only a few minutes and prevents unnecessary server intervention.

Follow this sequence to check:

  1. Open the site in a private window; private windows do not use existing cookies.
  2. Try a different browser and a phone using mobile data.
  3. If the problem affects one browser, clear only that site’s cookies and cache, then reload the page.
  4. If the same error appears everywhere, the problem is with the site; proceed to the diagnostic steps below.

Clearing cookies can genuinely resolve a login loop caused by a corrupted session cookie. However, if everyone sees the problem, deleting cookies provides only a few seconds of relief. If the site will not open but the error differs, the Website not opening guide also examines domain, DNS, and server-related causes separately.

How do you view the redirect chain?

The redirect chain revealing the source of ERR_TOO_MANY_REDIRECTS can be viewed step by step in the browser developer tools’ Network tab or through an HTTP header check. Reading which address sends where with which status code at every step reveals both ends of the loop.

Browser developer tools

In Chrome, open developer tools with F12, switch to Network, and check “Preserve log.” Reloading shows a request on each line; the Status column contains codes such as 301, 302, or 307, while Location in the response headers gives the next address. If the same two addresses repeat alternately, the loop has been found.

HTTP header check

On the command line, the curl -I -L --max-redirs 10 https://alanadi.com command lists each step’s response headers one after another. Online HTTP header checking tools provide the same information. This check is valuable because it is independent of browser cookies; it shows the server’s response to everyone.

When reading the chain, look particularly for the following:

  • Does the protocol change from http to https and back?
  • Is www being added and removed?
  • Do response headers contain a CDN trace such as “server: cloudflare”?
  • Do responses show a plugin-specific header or cache information?

Page contents

ERR_TOO_MANY_REDIRECTS: tarayıcı penceresinin etrafında sonsuzluk biçiminde dönen yönlendirme okları ve döngüyü kesen altın makas illüstrasyonu

Mismatch between the WordPress address and site address

The most common cause of WordPress too many redirects is the two addresses under Settings › General conflicting with server rules. WordPress tries to send visitors to the registered address; if the server or another layer forces a different address, a loop forms.

According to WordPress’s Changing the site URL documentation, “WordPress Address (URL)” is where core files reside, while “Site Address (URL)” is what visitors type to reach the site. The same documentation states that both settings should include https:// and no trailing slash. If the server redirects to an https address with www while these fields contain http or non-www addresses, the problem originates here.

When the panel is inaccessible, addresses can be fixed by adding WP_HOME and WP_SITEURL constants to wp-config.php. The documentation also notes that this is not the best solution, hardcodes the values, and prevents later changes through General Settings. If the RELOCATE method in the same documentation was used, remove that line from wp-config.php after the operation as required by its security warning.

Conflicting HTTPS and www rules in .htaccess

On Apache or LiteSpeed servers, multiple HTTPS or www rules added to .htaccess over the years can act in opposite directions, producing a redirect loop and ERR_TOO_MANY_REDIRECTS. One rule removing www while another adds it is a typical example.

Follow this sequence when examining .htaccess:

  • Take a copy of the file; edit only after copying.
  • Mark RewriteCond and RewriteRule lines containing HTTPS, www, and the domain.
  • If two rules perform the same task, retain only one; define the preferred address with a single rule.
  • Note unfamiliar rules outside WordPress’s own “# BEGIN WordPress” block separately.

If a hosting panel option such as “Force HTTPS” is enabled while .htaccess has the same rule, two redirects overlap. Rules sending users to an unfamiliar domain may indicate a security issue rather than configuration; this situation is covered in the hacking section below.

When Cloudflare SSL mode conflicts with server redirection

The best-known cause of loops on Cloudflare sites is SSL/TLS encryption mode being “Flexible” while the server redirects HTTP to HTTPS. The visitor connects to Cloudflare over HTTPS, Cloudflare reaches the server over HTTP, the server redirects to HTTPS, and the cycle repeats.

Cloudflare’s ERR_TOO_MANY_REDIRECTS troubleshooting documentation lists the causes as follows:

Cloudflare settingConflicting server behaviorThe documented solution
Flexible modeThe server redirects all HTTP requests to HTTPSRemove the server’s HTTPS redirect, or install a certificate on the server and switch to Full mode
Full or Full (strict) modeThe server redirects HTTPS requests to HTTPRemove the server’s HTTP redirect
Always Use HTTPSThe server converts HTTPS back to HTTPDisable the setting or remove the server redirect
HSTSServer redirection or disabled encryption modeRemove the server redirect and select the appropriate mode, or disable HSTS
Redirect Rules / Page RulesConflicting redirect rulesReview the rules and resolve the conflict

In our maintenance experience, the lasting approach is generally installing a valid server certificate and setting Cloudflare to Full (strict); in Flexible mode, traffic between the server and Cloudflare remains unencrypted. WordPress’s HTTPS documentation also states that sites behind a reverse proxy providing SSL may enter infinite redirect loops and recommends configuration based on HTTP_X_FORWARDED_PROTO. What Cloudflare adds to a site and its basic settings in the Cloudflare guide is explained.

At which layer does the loop begin? Let us read the chain together

WordPress settings, .htaccess, the hosting panel, and Cloudflare may all redirect simultaneously; disabling one sometimes reveals another. Reading the chain determines which rule stays and which is removed, and changes are made with records kept. The initial assessment is free.

When SSL, redirection, and caching plugins overlap

A loop can form when two plugins doing the same job, or a plugin and a server rule, redirect simultaneously. An SSL plugin forcing HTTPS while an old http entry remains in a redirection plugin is a typical example.

Items checked in a plugin-related loop:

  • SSL plugins: While a plugin forces HTTPS, does the server or Cloudflare also perform the same redirect?
  • Redirection plugins: Are there two entries with identical sources and destinations or entries pointing to each other?
  • Caching plugins: Is an old redirect response cached and served to everyone?
  • Security and multilingual plugins: Is a setting changing the login address or adding a language prefix participating in the loop?

If the panel is inaccessible, disable the suspected plugin by renaming its folder under wp-content/plugins through FTP or the file manager. Then clear the caching plugin, server, and CDN caches; otherwise, the repaired site may continue showing the old response for a while. If the loop occurs only on the login screen, also check browser cookies, FORCE_SSL_ADMIN in wp-config.php, and any security plugin changing the login address.

Loops appearing after site migration and HTTPS transition

When ERR_TOO_MANY_REDIRECTS appears immediately after migration or a domain change, the source is often an old address remaining in the database. Files have moved to the new server, but siteurl and home still point to the old domain or http.

The places checked for post-migration loops are database address records, .htaccess copied from the old server, automatic HTTPS redirection enabled on the new hosting, and whether DNS still points to the old server. WordPress migration documentation describes methods such as General Settings, wp-config.php constants, and temporary update_option usage in functions.php for address changes. Database addresses are not changed manually one by one; bulk updates use tools that change them without breaking serialized data.

When HTTPS transition and migration happen on the same day, sources of error double. If migration is to be planned together with address, redirection, and SSL steps, the WordPress site migration service covers this process from beginning to end.

Step-by-step solution: In what sequence should you proceed?

The aim in resolving ERR_TOO_MANY_REDIRECTS is to determine one preferred address and leave redirection to it in only one layer. Proceeding by reading the chain instead of guessing settings prevents a second loop on the same day.

  1. Define the preferred address in writing: https, with www, or without www?
  2. Confirm with a private window and header check that the problem affects everyone.
  3. Back up files and the database; take separate copies of .htaccess and wp-config.php.
  4. Map the redirect chain and note both ends of the loop.
  5. If there is a CDN, check its SSL mode and redirect rules.
  6. Align WordPress Address and Site Address with the preferred address.
  7. Remove duplicate redirection from .htaccess and the hosting panel.
  8. Check plugins individually, clear every cache layer, and retest the chain.

Common mistakes and the correct method

The most time is lost when resolving a loop by changing multiple settings simultaneously. Make one change, test it, record the outcome, then proceed to the next. Permanently disabling the Cloudflare proxy, deleting the SSL plugin and abandoning https, or deleting .htaccess without a backup may open the site briefly while creating new problems. The correct method is to keep redirection in one place as a permanent 301.

How does the too many redirects error affect SEO?

Because a looping page cannot serve content to any visitor, including Googlebot, it cannot be indexed and may eventually lose its place in search results. According to Google’s HTTP status codes documentation, Google crawlers follow a maximum of 10 redirect hops by default, and the redirecting address’s content is ignored while only the final destination’s content is processed.

The same documentation states that Search Console produces error messages for failed redirects. Because a loop never produces a final destination, no content remains to be processed. Google’s Redirects documentation recommends using permanent server-side redirects wherever possible for permanent moves.

In practice, correct setup is a one-step 301 from the old address to the new: http://alanadi.com goes directly to https://www.alanadi.com with no intermediate stop. The difference between permanent and temporary redirects and correct setup in the 301 redirect guide is explained.

How does this differ from a hacked redirect?

ERR_TOO_MANY_REDIRECTS is a site continually circulating between its own addresses; a hacked redirect sends visitors to another, unfamiliar website. The first is a settings conflict and the second a security breach, with entirely different solutions.

  • Destination: A loop always shows the same domain; a malicious redirect leads to an unfamiliar domain such as a gambling, drug, or fake-prize website.
  • Consistency: A loop generally happens for everyone every time; a malicious redirect often appears only on mobile or for visitors arriving from Google.
  • Source: A loop comes from a known setting; malicious redirection comes from unfamiliar code, users, or files.

If an unfamiliar domain appears in the chain, perform a security review instead of adjusting settings. Symptoms and the cleanup sequence in the WordPress hacked redirects guide are also covered separately.

When should you consult a specialist for WordPress too many redirects?

Specialist support saves time if the loop persists after reading the chain and aligning address settings, or if the panel is completely inaccessible. The order of changes matters on websites where several layers, including the hosting panel, .htaccess, CDN, and plugins, redirect simultaneously.

Specialist support for ERR_TOO_MANY_REDIRECTS is particularly necessary when an e-commerce checkout or cart page loops, database addresses need bulk replacement after migration, Cloudflare access is unavailable, or an unfamiliar address appears in the chain. Our repair process takes a backup first, records the chain, repeats header checks after every change, and shares the work performed in writing.

For one-time failures, the WordPress troubleshooting service identifies and resolves the source of the loop. If updates, SSL, and cache settings are to be checked regularly, WordPress maintenance costs 500–2,000 TL per month depending on the site’s scope.

Let us reduce redirects to a single step and get the website opening again

If the site is currently looping, first get it live again, then reduce redirects to one permanent rule. Contact us through WhatsApp or by phone for information, to compare options, or to begin immediately; the current state is examined in a free preliminary assessment.

Frequently asked questions

It is the error displayed when redirects for the page the browser is trying to open follow one another without ever reaching a final address. A redirect loop is generally behind it; for example, one layer sends http to https while another sends it back to http.

It can if the problem appears only in one browser; a corrupted session cookie can cause a login loop. If the site shows the same error in a private window and on different devices, the source is the website and clearing cookies is not a lasting solution.

The WordPress Address and Site Address under Settings › General conflicting with server rules. According to WordPress documentation, both fields should include https:// and no trailing slash; an http/https or www mismatch produces a loop.

Addresses can be fixed by adding WP_HOME and WP_SITEURL constants to wp-config.php. WordPress documentation notes that this hardcodes the values and prevents changes through General Settings afterward; database address records are also checked for a lasting solution.

According to Cloudflare documentation, the best-known cause is Flexible SSL mode while the server redirects HTTP requests to HTTPS. The solution is removing the server’s HTTPS redirect or installing a certificate on the server and switching to Full mode; conflicting Redirect Rules and Page Rules are also checked.

Yes; a looping page cannot be indexed because it cannot serve content. According to Google documentation, crawlers follow a maximum of 10 redirect hops by default and Search Console produces error messages for failed redirects.

Usually not; a loop is generally a settings conflict with the same domain throughout the chain. If an unfamiliar domain appears, or redirection occurs only on mobile or for visitors from Google, a security review is necessary.

At Onur Freelance, WordPress maintenance costs 500–2,000 TL per month depending on the site’s size and scope; updates, backups, SSL, and cache checks are performed within this scope. Onur Freelance is not an official WordPress support channel.