-10.5 C
New York
Monday, December 23, 2024

What It Is & How one can Repair It


What Does ERR_TOO_MANY_REDIRECTS Imply?

ERR_TOO_MANY_REDIRECTS is an error message a browser returns when it fails to load webpage content material as a result of a redirect loop.

A redirect loop is when a requested web page redirects to a different web page. And the second web page redirects again to the unique web page. This creates an infinite cycle of redirects.

"What is a Redirect Loop?" infographic

Ultimately, the browser provides up loading the web page and returns a “too many redirects” error message.

Like this:

“too many redirects” error message example

This error is problematic for 2 causes:

1. It negatively impacts person expertise by slicing off entry to a webpage. Customers might go away your web site, which implies misplaced visitors. And potential misplaced income for what you are promoting.

2. Search engine crawlers are trapped within the loop, so your pages aren’t crawled correctly. And in case your pages are usually not crawled and listed, they received’t rank in serps and drive visitors to your web site.

On this publish, we’ll discover the causes of the “too many redirects” error and the way to repair it.

However first, let’s study what this error seems to be like in several net browsers.

What Does the Too Many Redirects Error Look Like in Browsers?

Completely different browsers present the error in a different way. 

Google Chrome

In Google Chrome, the ERR_TOO_MANY_REDIRECTS error will present a message in the midst of the display screen: “This web page isn’t working. instance.com redirected you too many instances.”

Like so:

ERR_TOO_MANY_REDIRECTS error in Chrome

(ERR_TOO_MANY_REDIRECTS error in Chrome)

A button means that you can retry loading the web page.

Firefox

In Firefox, you might even see a message in the midst of the display screen that claims, “The web page isn’t redirecting correctly.”

Like so:

ERR_TOO_MANY_REDIRECTS error in Firefox

(ERR_TOO_MANY_REDIRECTS error in Firefox)

And a button to strive reloading the web page.

Safari

In Safari, the ERR_TOO_MANY_REDIRECTS error message reads, “Safari Can’t Open the Web page.”

Like this:

ERR_TOO_MANY_REDIRECTS error in Safari

(ERR_TOO_MANY_REDIRECTS error in Safari)

In contrast to Chrome and Firefox, Safari doesn’t provide a button for reloading the web page.

Microsoft Edge

In the event you’re utilizing Microsoft Edge, you’ll see this error message: “This web page isn’t working proper now.”

Like this:

ERR_TOO_MANY_REDIRECTS error in Microsoft Edge

(ERR_TOO_MANY_REDIRECTS error in Microsoft Edge)

A “Refresh” button means that you can strive reloading the web page.

Opera

In Opera, the ERR_TOO_MANY_REDIRECTS error will present this message: “This web page isn’t working. instance.com redirected you too many instances.”

Like so:

ERR_TOO_MANY_REDIRECTS error in Opera

(ERR_TOO_MANY_REDIRECTS error in Opera)

What Causes the ERR_TOO_MANY_REDIRECTS Error?

The ERR_TOO_MANY_REDIRECTS error happens when a browser is caught in a loop of redirects making an attempt to load your webpage.

This could occur for a number of causes, together with the next:

  • Browser cookies and cache points. Corrupted cookies and an outdated cache might trigger a redirect loop that results in the ERR_TOO_MANY_REDIRECTS error.
  • Misconfigured redirects. In case your new redirects battle with present ones, it will possibly trigger the error “too many redirects.”
  • Points with third-party companies and plugins. Misconfigured third-party companies akin to content material supply networks (CDN) and the usage of outdated plugins may cause “too many redirects” points in your web site.
  • Incorrect HTTPS settings. A misconfigured safe sockets layer (SSL) certificates or HTTPS redirect guidelines can create “too many redirects” points.
  • .htaccess file misconfiguration. If the .htaccess file, which is used to configure net server settings, has a defective variable, it will possibly result in the ERR_TOO_MANY_REDIRECTS error in your web site.

How one can Establish ERR_TOO_MANY_REDIRECTS Errors on Your Web site

Manually figuring out ERR_TOO_MANY_REDIRECTS error points in your web site could be a time-consuming and tedious course of.

Semrush’s Website Audit software robotically scans your web site for redirect-related points. Like redirects chains and loops.

Begin by establishing a undertaking on your web site.

Go to the Website Audit software. Enter your URL and click on “Begin Audit.”

Site Audit tool

The “Website Audit Settings” window will pop up. Right here, choose the variety of pages you need to scan. Then click on “Begin Website Audit.”

“Site Audit Settings” window

As soon as the audit is full, navigate to the “Points” tab and seek for “redirect.” The software will present whether or not your web site has redirect chains and loops.

“Issues” tab

If points exist, click on on the “X redirect chains and loops” to see the particular pages triggering these points.

You’ll see a listing of URLs like this:

“X redirect chains and loops”

The “Why and the way to repair it” hyperlink on the high of the report can information you on fixing these points.

“Why and how to fix it” section

Observe: In the event you run a big web site, schedule periodic audits to handle new redirect-related points.

To schedule audits, click on the cog icon within the high right-hand nook. Scroll all the way down to the audit settings and click on “Schedule.”

Site Audit Settings

Now you’ll be able to schedule weekly audits on your web site.

Scheduling weekly audits

How one can Repair Too Many Redirects Errors?

The next are seven troubleshooting steps that will help you repair the ERR_TOO_MANY_REDIRECTS error in your web site.

The steps under apply to everybody, whatever the content material administration system (CMS) you utilize.

But when your web site runs on WordPress, there are some particular suggestions that will help you clear up the “too many redirects” error in your WordPress web site. We’ll get into that, too. 

Clear Your Browser Cache And Cookies

In some instances, the actual perpetrator inflicting the “too many redirects” error may not be your web site, however your browser.

Your browser might comprise corrupted cookies and outdated cache. Which could set off the ERR_TOO_MANY_REDIRECTS for you particularly. However not for the customers accessing your web site.

To substantiate whether or not that’s the case, strive deleting the saved cache and cookies out of your browser. Right here’s how. 

Google Chrome

1. Click on the three dots on the high right-hand nook of your browser and click on “Settings.”

Google Chrome “Settings”

2. In settings, choose “Privateness and Safety” from the sidebar and click on “Clear searching knowledge.”

“Clear browsing data” in Settings

3. Set your time vary to “All time,” uncheck “searching historical past” and click on “Clear knowledge.”

“Clear data”

Firefox

1. Click on the menu button on the high right-hand nook of your browser and click on “Settings.”

Firefox “Settings”

2. In settings, choose “Privateness and Safety” from the sidebar. Then scroll all the way down to the “Cookies and Website Information” part, and click on “Clear Information.”

“Clear Data” in Privacy and Security section

3. Click on “Clear.”

“Clear” button

Clear Your WordPress Cache

Your browser isn’t the one place the place outdated cache can accumulate. Generally, the cache saved in your WordPress web site may also trigger “too many redirects” points.

The caching plugin you’ve put in on your WordPress web site will help you clear your web site’s cached recordsdata.

Right here’s the way to clear cache utilizing two of the preferred WordPress caching plugins:

W3 Complete Cache plugin

1. Go to your WP admin dashboard.

2. Navigate to “Efficiency,” then “Dashboard.”

WordPress “Dashboard”

3. Click on “empty all caches.”

“empty all caches”

WP Tremendous Cache plugin

1. Go to your WP admin dashboard.

2. Navigate to “Settings” after which “WP Tremendous Cache.” 

“WP Super Cache” 

3. Scroll down and click on “Delete Cache” below the “Delete Cached Pages” part to take away all cached recordsdata.

“Delete Cached Pages” section

Then, refresh your webpage to see whether or not the error is gone. If not, maintain studying.

Examine Your URL Settings

Misconfigured URL settings may cause ERR_TOO_MANY_REDIRECTS errors in your WordPress web site.

This occurs when your WordPress web site factors on the flawed area, typically throughout a bunch migration or area change. 

To handle, go to “Settings” and find your “WordPress Tackle (URL)” and “Website Tackle (URL).”

Check URL Settings

Examine in the event that they match. In the event that they don’t, modify them to level on the appropriate area.

If each URLs match and the redirect error persists, verify for areas originally or finish of the URLs.

Examine Your Plugins

Generally, the redirects you implement utilizing WordPress plugins may battle with redirects that exist on the server degree.

Your plugins may be outdated or have corrupted knowledge.

To check whether or not your plugins are inflicting issues, disable all of your plugins. Then, re-enable them one after the other to see which one is inflicting the issue.

Go to your WP admin dashboard and choose “Plugins” > “Put in plugins.”

Navigate to “Installed plugins”

Choose all of your plugins by checking the field within the high left-hand nook.

Plugin box checked

Choose “Deactivate” from the “Bulk Actions” drop-down menu and click on “Apply.”

Select “Deactivate”

Now, refresh your web site.

In the event you don’t see the “too many redirects” error message, plugins have been creating the difficulty.

Activate every plugin one after the other. As you activate every plugin, reload your web site to see which plugin prompted the error.

When you establish the defective plugin, report the issue to the plugin help crew. Or discover an alternate plugin with the identical performance.

Examine for SSL Certificates Points

SSL is a protocol to ascertain an encrypted connection between the server and the shopper. SSL certificates allow you to make use of hypertext switch protocol safe (HTTPS) in your web site.

HTTPS encrypts and protects knowledge transmitted between the server and the browser. So when customers entry your web site, their knowledge is secure from attackers.

In the event you don’t set up an SSL certificates correctly or drive HTTPS in your web site with out putting in an SSL certificates, your web site might set off the “too many redirects” error.

Use an SSL checker software akin to SSL Shopper to make sure your SSL certificates is put in correctly. And there are not any points with it.

SSL Shopper

Examine Third-Occasion Providers

A content material supply community (CDN) is an internet of geographically distributed servers that work collectively to ship content material to customers sooner and extra effectively.

In the event you use Cloudflare as your CDN and your SSL is about to Versatile, it might set off redirect loops in your web site. Versatile mode forces your web site to load over a safe HTTPS model once you’re technically unable to arrange an SSL certificates.

The one draw back is that it will possibly trigger redirect loops.

So swap to a different encryption choice in Cloudflare, akin to Full or Full (strict).

Check in to your Cloudflare dashboard and choose your area.

Cloudflare dashboard

Go to SSL/TLS.

SSL/TLS in left-side Menu

Then, set the encryption mode to Full or Full (strict).

Set the encryption mode to Full or Full (strict)

Disable Your .htaccess File

.htaccess is a giant a part of what controls web page redirects. If some redirect guidelines are misconfigured or defective variables are current, it might trigger “too many redirects” error in your web site.

You’ll be able to disable your .htaccess file to substantiate whether or not it’s the perpetrator of the redirect error.

Right here’s the way to disable a .htaccess file.

1. Entry the WordPress recordsdata folder by going to your internet hosting supplier’s management panel. (We’re utilizing Bluehost for this walkthrough.) And click on “File Supervisor.”

Click “File Manager” in Bluehost

2. Go to your root listing folder. The folder is normally named “public_html,” “www,” “htdocs,” or “httpdocs.”

“public_html” folder

3. Discover the .htaccess file and proper click on on it to obtain it (in case it’s essential restore it later).

Download .htaccess file

4. Proper-click on the file once more, click on “Rename,” and rename it to “.htaccess_disabled.” This may disable the .htaccess file in your web site.

Rename the file to “.htaccess_disabled”

5. Refresh your webpage to see whether or not it’s working. If it’s working, the .htaccess file prompted the error.

6. Then, right-click on the .htaccess file and click on “Edit.”

“Edit” .htaccess file

7. Evaluation the present configuration. Be certain that the principles are set to the default .htaccess configuration.

8. If the principles don’t match, delete the present guidelines and paste these default guidelines:

# BEGIN WordPress

RewriteEngine On

RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteBase /

RewriteRule ^index.php$ – [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

# END WordPress

9. Save your file and rename the file again to .htaccess

If misconfigurations in your .htaccess file prompted the redirect error, this could clear up the difficulty.

Establish and Repair Redirect Errors with Semrush

Redirect-related points akin to redirects chains and loops might set off the ERR_TOO_MANY_REDIRECTS error.

Fixing these points as they pop up is tremendous necessary. And Semrush’s Website Audit software checks points together with your web site’s redirects.

Try the Website Audit software as we speak.

Related Articles

Latest Articles