![What It Is & How to Fix It](https://webcube360.co.uk/wp-content/uploads/2023/06/too-many-redirects-how-to-fix-it-sm.png)
What It Is & How to Fix It
- News
- June 2, 2023
- No Comment
- 118
[ad_1]
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 attributable to 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 countless cycle of redirects.
!["What is a Redirect Loop?" infographic](https://static.semrush.com/blog/uploads/media/f2/88/f288c274b8d534b18e4f969ef371f4ab/image.png)
Ultimately, the browser offers up loading the web page and returns a “too many redirects” error message.
Like this:
![“too many redirects” error message example](https://static.semrush.com/blog/uploads/media/e1/08/e108958350f8d4f7cd2e96178aa8dddc/image.png)
This error is problematic for 2 causes:
1. It negatively impacts consumer expertise by slicing off entry to a webpage. Customers may go away your website, which suggests misplaced site 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 usually are not crawled and indexed, they received’t rank in engines like google and drive site visitors to your web site.
On this publish, we’ll discover the causes of the “too many redirects” error and learn how to repair it.
However first, let’s study what this error appears to be like like in several net browsers.
What Does the Too Many Redirects Error Look Like in Browsers?
Completely different browsers present the error in another way.
Google Chrome
In Google Chrome, the ERR_TOO_MANY_REDIRECTS error will present a message in the midst of the display: “This web page isn’t working. instance.com redirected you too many instances.”
Like so:
![ERR_TOO_MANY_REDIRECTS error in Chrome](https://static.semrush.com/blog/uploads/media/3d/86/3d867c80d7608f34e98db5169204e604/image.png)
(ERR_TOO_MANY_REDIRECTS error in Chrome)
A button permits you to retry loading the web page.
Firefox
In Firefox, you might even see a message in the midst of the display that claims, “The web page isn’t redirecting correctly.”
Like so:
![ERR_TOO_MANY_REDIRECTS error in Firefox](https://static.semrush.com/blog/uploads/media/06/7c/067c1a65da920bc4a9c616fd15abeee8/image.png)
(ERR_TOO_MANY_REDIRECTS error in Firefox)
And a button to attempt 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](https://static.semrush.com/blog/uploads/media/b5/8a/b58a43627fdc0c5774bdcf14f0001eff/image.png)
(ERR_TOO_MANY_REDIRECTS error in Safari)
Not like Chrome and Firefox, Safari doesn’t provide a button for reloading the web page.
Microsoft Edge
In case 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](https://static.semrush.com/blog/uploads/media/5d/85/5d8551c20bcee1117a406995ee57d561/image.png)
(ERR_TOO_MANY_REDIRECTS error in Microsoft Edge)
A “Refresh” button permits you to attempt 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](https://static.semrush.com/blog/uploads/media/1b/75/1b7527a506da18390b4570f1abe34cc4/image.png)
(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 will occur for a number of causes, together with the next:
- Browser cookies and cache points. Corrupted cookies and an outdated cache may trigger a redirect loop that results in the ERR_TOO_MANY_REDIRECTS error.
- Misconfigured redirects. In case your new redirects battle with current ones, it may possibly trigger the error “too many redirects.”
- Points with third-party companies and plugins. Misconfigured third-party companies equivalent to content delivery networks (CDN) and the usage of outdated plugins may cause “too many redirects” points in your website.
- 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 may possibly result in the ERR_TOO_MANY_REDIRECTS error in your web site.
Find out how to Determine ERR_TOO_MANY_REDIRECTS Errors on Your Web site
Manually figuring out ERR_TOO_MANY_REDIRECTS error points in your web site generally is a time-consuming and tedious course of.
Semrush’s Site Audit instrument routinely scans your web site for redirect-related points. Like redirects chains and loops.
Begin by establishing a challenge in your web site.
Go to the Site Audit instrument. Enter your URL and click on “Begin Audit.”
![Site Audit tool](https://static.semrush.com/blog/uploads/media/0e/1a/0e1a6efa8f23b590dfa9b1697f7ecefc/image.png)
The “Website Audit Settings” window will pop up. Right here, choose the variety of pages you wish to scan. Then click on “Begin Website Audit.”
![“Site Audit Settings” window](https://static.semrush.com/blog/uploads/media/cc/bc/ccbc3c62811a97e8dbdbcb5ded1e547d/image.png)
As soon as the audit is full, navigate to the “Points” tab and seek for “redirect.” The instrument will present whether or not your website has redirect chains and loops.
![“Issues” tab](https://static.semrush.com/blog/uploads/media/47/93/4793d06ca3d844599188fa916649375c/image.png)
If points exist, click on on the “X redirect chains and loops” to see the precise pages triggering these points.
You’ll see an inventory of URLs like this:
![“X redirect chains and loops”](https://static.semrush.com/blog/uploads/media/82/58/8258bf9fc70ed5246a4b94af185cd9c9/image.png)
The “Why and learn how to repair it” hyperlink on the prime of the report can information you on fixing these points.
![“Why and how to fix it” section](https://static.semrush.com/blog/uploads/media/0b/6f/0b6f9bca1977ffe787fd697706704739/image.png)
Notice: In case 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 prime right-hand nook. Scroll all the way down to the audit settings and click on “Schedule.”
![Site Audit Settings](https://static.semrush.com/blog/uploads/media/75/c9/75c9e4c805f017c687273482a01aab1a/image.png)
Now you’ll be able to schedule weekly audits in your web site.
![Scheduling weekly audits](https://static.semrush.com/blog/uploads/media/ef/68/ef68ab097461b8c7625dd6c7022d5818/image.png)
Find out how to Repair Too Many Redirects Errors?
The next are seven troubleshooting steps that can assist you repair the ERR_TOO_MANY_REDIRECTS error in your website.
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 ideas that can assist you resolve the “too many redirects” error in your WordPress website. We’ll get into that, too.
Clear Your Browser Cache And Cookies
In some circumstances, the actual wrongdoer inflicting the “too many redirects” error may not be your web site, however your browser.
Your browser may include 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 verify whether or not that’s the case, attempt deleting the saved cache and cookies out of your browser. Right here’s how.
Google Chrome
1. Click on the three dots on the prime right-hand nook of your browser and click on “Settings.”
![Google Chrome “Settings”](https://static.semrush.com/blog/uploads/media/34/72/34728584be31c34fe5ff931ab675f0b9/image.png)
2. In settings, choose “Privateness and Safety” from the sidebar and click on “Clear shopping information.”
![“Clear browsing data” in Settings](https://static.semrush.com/blog/uploads/media/41/91/419101057099fd1537a61004a96b3901/image.png)
3. Set your time vary to “All time,” uncheck “shopping historical past” and click on “Clear information.”
![“Clear data”](https://static.semrush.com/blog/uploads/media/5d/b2/5db2c4afbfbfeb55cfa7c7859fb8481f/image.png)
Firefox
1. Click on the menu button on the prime right-hand nook of your browser and click on “Settings.”
![Firefox “Settings”](https://static.semrush.com/blog/uploads/media/6c/29/6c29533211a427e827c342c2e1061d31/image.png)
2. In settings, choose “Privateness and Safety” from the sidebar. Then scroll all the way down to the “Cookies and Website Knowledge” part, and click on “Clear Knowledge.”
![“Clear Data” in Privacy and Security section](https://static.semrush.com/blog/uploads/media/b9/36/b93610085924421a90fb88f0502d5841/image.png)
3. Click on “Clear.”
![“Clear” button](https://static.semrush.com/blog/uploads/media/46/e1/46e1c4435b06f0f38890cfab71c5b61f/image.png)
Clear Your WordPress Cache
Your browser isn’t the one place the place outdated cache can accumulate. Typically, the cache saved in your WordPress website may additionally trigger “too many redirects” points.
The caching plugin you’ve put in in your WordPress website will help you clear your web site’s cached information.
Right here’s learn how 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”](https://static.semrush.com/blog/uploads/media/1d/e4/1de41116a2d59d3275a5763a570d6020/image.png)
3. Click on “empty all caches.”
![“empty all caches”](https://static.semrush.com/blog/uploads/media/67/77/6777bc9e611d001e437d28b9175cf9f4/image.png)
WP Tremendous Cache plugin
1. Go to your WP admin dashboard.
2. Navigate to “Settings” after which “WP Tremendous Cache.”
![“WP Super Cache”](https://static.semrush.com/blog/uploads/media/3e/3c/3e3c9009e6c909f9f37ffa82458933df/image.png)
3. Scroll down and click on “Delete Cache” beneath the “Delete Cached Pages” part to take away all cached information.
![“Delete Cached Pages” section](https://static.semrush.com/blog/uploads/media/ce/7a/ce7a36e391571a54558e668b63798868/image.png)
Then, refresh your webpage to see whether or not the error is gone. If not, preserve studying.
Verify 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 incorrect area, typically throughout a bunch migration or area change.
To deal with, go to “Settings” and find your “WordPress Handle (URL)” and “Website Handle (URL).”
![Check URL Settings](https://static.semrush.com/blog/uploads/media/70/f5/70f576ab328766ae6d1ec388fce46fda/image.png)
Verify 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, examine for areas originally or finish of the URLs.
Verify Your Plugins
Typically, the redirects you implement utilizing WordPress plugins may battle with redirects that exist on the server stage.
Your plugins may be outdated or have corrupted information.
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”](https://static.semrush.com/blog/uploads/media/2d/5a/2d5a24bf7cfdecfa48e7b585635e1082/image.png)
Choose all of your plugins by checking the field within the prime left-hand nook.
![Plugin box checked](https://static.semrush.com/blog/uploads/media/54/5d/545d134860e48f4843ee69d181a9842d/image.png)
Choose “Deactivate” from the “Bulk Actions” drop-down menu and click on “Apply.”
![Select “Deactivate”](https://static.semrush.com/blog/uploads/media/48/98/489834463f21f1058cb87072cf3d5a0d/image.png)
Now, refresh your website.
In case 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 triggered the error.
When you establish the defective plugin, report the issue to the plugin assist crew. Or discover an alternate plugin with the identical performance.
Verify 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 information transmitted between the server and the browser. So when customers entry your web site, their information is secure from attackers.
In case you don’t set up an SSL certificates correctly or pressure HTTPS in your web site with out putting in an SSL certificates, your web site may set off the “too many redirects” error.
Use an SSL checker instrument equivalent to SSL Shopper to make sure your SSL certificates is put in correctly. And there aren’t any points with it.
![SSL Shopper](https://static.semrush.com/blog/uploads/media/51/d4/51d4019f2e332d7f0d9720a6c544b907/image.png)
Verify 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 quicker and extra effectively.
In case you use Cloudflare as your CDN and your SSL is ready to Versatile, it may set off redirect loops in your website. Versatile mode forces your website to load over a safe HTTPS model once you’re technically unable to arrange an SSL certificates.
The one draw back is that it may possibly trigger redirect loops.
So swap to a different encryption choice in Cloudflare, equivalent to Full or Full (strict).
Sign up to your Cloudflare dashboard and choose your area.
![Cloudflare dashboard](https://static.semrush.com/blog/uploads/media/64/66/64666850ab43ca552bb36f7b65fd449d/image.png)
Go to SSL/TLS.
![SSL/TLS in left-side Menu](https://static.semrush.com/blog/uploads/media/7a/f4/7af4cb582e9751932b1110c793873672/image.png)
Then, set the encryption mode to Full or Full (strict).
![Set the encryption mode to Full or Full (strict)](https://static.semrush.com/blog/uploads/media/3d/60/3d60f07e8b36bb9d5350e7345b5d1aed/image.png)
Disable Your .htaccess File
.htaccess is an enormous a part of what controls web page redirects. If some redirect guidelines are misconfigured or defective variables are current, it may trigger “too many redirects” error in your website.
You may disable your .htaccess file to verify whether or not it’s the wrongdoer of the redirect error.
Right here’s learn how to disable a .htaccess file.
1. Entry the WordPress information 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](https://static.semrush.com/blog/uploads/media/7d/7c/7d7c1263679d2e69d810b7b50463dbc2/image.png)
2. Go to your root listing folder. The folder is often named “public_html,” “www,” “htdocs,” or “httpdocs.”
![“public_html” folder](https://static.semrush.com/blog/uploads/media/f8/bd/f8bd72c1d6f70ac9d9a8a7648c24e86b/image.png)
3. Discover the .htaccess file and proper click on on it to obtain it (in case you might want to restore it later).
![Download .htaccess file](https://static.semrush.com/blog/uploads/media/d4/12/d4124b63561d2e0856726b7d86b866bc/image.png)
4. Proper-click on the file once more, click on “Rename,” and rename it to “.htaccess_disabled.” This can disable the .htaccess file in your website.
![Rename the file to “.htaccess_disabled”](https://static.semrush.com/blog/uploads/media/85/64/8564b140e0fbb734287e325b16882a9d/image.png)
5. Refresh your webpage to see whether or not it’s working. If it’s working, the .htaccess file triggered the error.
6. Then, right-click on the .htaccess file and click on “Edit.”
![“Edit” .htaccess file](https://static.semrush.com/blog/uploads/media/bd/ed/bdede27773b775fb53af34e7935eab92/image.png)
7. Overview the present configuration. Ensure the foundations are set to the default .htaccess configuration.
8. If the foundations 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 triggered the redirect error, this could resolve the difficulty.
Determine and Repair Redirect Errors with Semrush
Redirect-related points equivalent to redirects chains and loops may set off the ERR_TOO_MANY_REDIRECTS error.
Fixing these points as they pop up is tremendous necessary. And Semrush’s Site Audit instrument checks points together with your web site’s redirects.
Take a look at the Website Audit instrument right now.
[ad_2]
Source link