Load cannot follow 20 redirections

New Page

Too many redirects – what this error means and how to fix it

Anna Fitzgerald

Anna Fitzgerald

Updated: June 13, 2022

Published: October 12, 2021

While browsing the web, we’ve probably all come across a “too many redirects” message d’erreur. This can be frustrating for users and downright scary for site owners. You don’t want this error message to interfere with the user experience or conversions on your site.

Site owner fixing too many redirects bug

In this post, we’ll go over what this error means and how to fix it in different browsers so you can get your site up and running again.

Speed ​​up your website with HubSpot’s built-in CDN

Too many redirects error

Too many redirects error indicates that your browser is stuck in an infinite redirect loop. That means your browser is trying to visit a URL that points to another URL, which points to the first URL, so you’re stuck. This cycle could go on forever, but eventually your browser gives up and displays the “too many redirects” error.

This error may display differently depending on the browser you are using. Here are some variations below.

Too many Chrome redirects

too many chrome redirects

Source d’image

Too many Safari redirects

too many safari redirects

Source d’image

Too many Firefox redirects

redirect to demasiadas firefox

Source d’image

Es probable que este error se deba a un error de configuración en el sitio web que intenta visitar. Si el sitio web en cuestión es su sitio web, debe tomar medidas para resolverlo lo antes posible. Veamos las soluciones a continuación.

Cómo arreglar demasiados redireccionamientos

  1. Borrar cookies en el sitio web de redireccionamiento.
  2. Clear your browser cache.
  3. Ensure your SSL certificate is installed correctly.
  4. Evaluate your third-party services and plugins.
  5. Reset your htaccess file.
  6. Contact your hosting provider.

These steps apply to any website, no matter what website builder or content management system (CMS) it uses.

However, if you have a WordPress website, then there are some unique steps you can take to resolve the too many redirects error. Check out How to Fix the Redirect Loop Error in WordPress to learn more.

1. Clear cookies on the redirecting website.

To start, try clearing cookies on the website causing the redirect loop. The process is similar for any web browser. The steps for each are outlined below.

Chrome

  • At the top right, click the Customize icon then click Settings.

Navigate to settings to clear cookies in Chrome

  • Click Privacy and security from the left toolbar.
  • Click Cookies and other site data.

Click Cookies and other site data on Chrome

  • Scroll down and click See all cookies and site data.

Click on all cookies and other data on Chrome

  • At the top right, search for the website’s name.
  • To the right of the site, click Remove.

Cliquez sur remove website redirect loop in Chrome

Safari

  • Click Safari > Preferences.

Click on Safari > Preferences to delete cookies

  • Click Privacy.
  • Click Manage Website Data.

Click on website data administrator to delete cookies on Safari

  • Use the Search field to find the name of the website causing the redirect loop.
  • Select the site and click Remove.

Eliminate Safari Redirect Website

  • Click Done.

Firefox

  • Click Firefox > Preferences.
  • Click Privacy & Security from the left toolbar.
  • Scroll to the Cookies and Site Data section.

Click Cookies and Site Data in Firefox to delete cookies

Image Source

  • Click Manage Data…
  • In the Search field, type the name of the website causing the redirect loop.

Eliminate Firefox redirect website to delete cookies

Image Source

  • Click Remove All Shown.
  • Click Save Changes.

2. Clear your browser cache.

If clearing cookies on the specific website causing the redirect loop doesn’t work, try clearing your whole browser cache. The process is similar for any web browser. The steps for each are outlined below.

Chrome

  • At the top right, click the Customize icon then click Settings.

Click settings in chrome to clear cache

  • Click Privacy and security from the left toolbar.
  • Click Clear browsing data.
  • Set your time range, then click Clear Data.

Haga clic en borrar datos en Chrome para borrar el caché

Safari

  • Click Safari > Preferences.

haga clic en safari> preferencias para borrar el caché en safari

  • Click Privacy.
  • Click Manage Website Data.

click manage website data to clear browser cache in safari

  • Click Remove All.
  • Click Remove Now.

click remove all and remove now to clear cache in safari

  • Click Done.

Firefox

  • Click Firefox > Preferences.
  • Click Privacy & Security from the left toolbar.
  • Scroll to the Cookies and Site Data section.

click cookies and site data to clear cache in firefox

Image Source

  • Click Clear Data…
  • Cookies and Site Data and Cached Web Content should both be check marked by default. Click Clear.

clear cached web content in firefox

3. Ensure your SSL Certificate is installed correctly.

If you’ve cleared your cookies and cache and are still getting the too many redirects error, then the issue could be your HTTPS settings. HTTPS means that your website uses a security protocol called Secure Sockets Layer (SSL) to encrypt data transfers between a browser requesting a website and the web server delivering that website.

This protocol can cause the redirect loop in special circumstances. For example, if you’ve forced SSL on your site without actually installing an SSL certificate, then you’ll likely see the error. That’s because all requests to your hosting server are sent over HTTP, which your server has to redirect to HTTPS again and again.

So it’s important to ensure your SSL certificate is installed correctly and renewed when needed. You can use an online tool like SSL Shopper, SSL Server Test, or Digicert, to test that your SSL configuration is installed, valid, and trusted in just a few minutes.

enter site URL in SSL shopper to check if SSL configuration is causing too many redirects errorn

4. Evaluate your third-party services and plugins.

If you’ve ruled out your cookies, cache, and HTTPS settings as causing the too many redirects error on your site, then check any third-party services you use.

If you use a proxy server — an  intermediary server that directs requests from multiple clients to different servers —then it could be causing the error message. For example, Cloudflare has a Flexible SSL option, which forces requests between clients and Cloudflare to be sent over HTTPS but allows requests between Cloudflare and your origin server to be sent over HTTP.

Cloudflare flexiblle SSL option can cause too many redirects error

Image Source

If that option is enabled but you already have an SSL certificate installed on your server, then your server will redirect these requests to HTTPS and likely cause the too many redirects error. You can resolve this issue by switching to another encryption mode, like Full or Full (strict).

If your site is on WordPress, then third-party plugins could also be causing the error. Redirect plugins allow you to easily and quickly set up redirects when the permalink of a post or page is changed or when other conditions are met. But sometimes changing the settings of these plugins or updating them can cause the too many redirects error.

To see if this is the issue on your site, try disabling your plugins. A good way to test this is by deactivating all your plugins in bulk, then reactivating them one by one to isolate the culprit. Here are the steps:

  • Log into your WordPress admin dashboard.
  • Select Plugins > Installed Plugins.
  • Check the box next to Plugin to select all your plugins.

Check box next to plugin to select all to temporarily deactivate

  • Choose Deactivate from the Bulk Actions drop-down menu, then click Apply.

Select deactivate from bulk action dropdown menu to fix too many redirects error

  • Refresh your site.

If you no longer see the too many redirects error, start activating each plugin one by one and reloading your website after each activation to identify the faulty plugin.

You may need to reach out to the plugin developer to resolve the issue, or find an alternative to use on your site.

5. Reset your htaccess file.

If none of the steps above have resolved the too many redirects error, then the problem is likely how redirects are set up on your server. To double check that, you’ll need to access your hypertext access file, or the .htaccess file, rename it, and create a new one. To do so, you can use a file manager like cPanel or via FTP client. The following steps are for cPanel specifically.

  • Go to File Manager and select your .htaccess file.
  • Right-click to rename it .htaccess_old. This is now your backup file.
  • Go to public_html
  • Create a new text file and name it .htaccess.
  • Copy and paste the following code into the file.

<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ – [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule>

  • You can now save and exit the file manager.

This will reset the .htaccess file to its default settings so you can now save and refresh your site. If this did not resolve the too many redirects error, you can restore the backup .htaccess file.

6. Contact your hosting provider.

Si aucune des étapes ci-dessus ne résout votre problème, essayez de contacter votre hébergeur. Si vous leur faites savoir que vous rencontrez un trop grand nombre d’erreurs de redirection qui affectent les performances de votre site Web, ils peuvent vous indiquer la cause exacte – ou même la résoudre pour vous.

Résolution de l’erreur Trop de redirections

There’s no foolproof method for preventing a too many redirects error, but there are steps you can take to resolve it. By fixing this errors as quickly as possible, you’ll ensure visitors can continue browsing, navigating, and converting on your site with ease.

New Call-to-action

Topics: Website Performance

¡No olvides compartir esta publicación!

If Safari can’t open the page because too many redirects occurred

This might occur when you open a page that is redirected to another page, which is then redirected to open the original page.

This article has been archived and is no longer updated by Apple.

If a webpage redirects too many times, it might have been set up in a way that is causing a redirect loop. In that case, the owner of the page will need to correct the issue.

The issue might also relate to outdated redirect information in your browser cache or cookies. To find out:

  1. From the menu bar in Safari, choose Safari > Preferences, then click Privacy.
  2. Click Manage Website Data.
  3. Use the Search field to find the name of the redirecting website, then select the website and click Remove. Safari then removes all stored data for the website, including caches and cookies. This might sign you out of the website or change its behavior.
  4. Click Done, then close Safari preferences.

If the issue continues, repeat these steps, but instead of clicking Remove for the redirecting website, click Remove All to remove stored data for every website you’ve visited in Safari.

Published Date:  August 09, 2022

Too Many Redirects: What This Error Means & How to Fix It

Anna Fitzgerald

Anna Fitzgerald

Actualizado:13 de junio de 2022

Publicado:12 de octubre de 2021

When surfing the web, we’ve all likely stumbled upon a “too many redirects” error message. This can be frustrating for users — and downright scary for site owners. You don’t want this error message to get in the way of the user experience or conversions on your site.

Site owner fixing too many redirects error

In this post, we’ll go over what this error means and how to fix it on different browsers so you can get your site back up and running.

Speed Up Your Website with HubSpot’s Built-In CDN

Too Many Redirects Error

The too many redirects error indicates that your browser is stuck in an infinite redirection loop. That means your browser is trying to visit one URL which points to another URL, which points back to the first URL, so it’s stuck. This loop could go on forever — but eventually your browser gives up and displays the “too many redirects” error.

This error might show up differently depending on what browser you’re using. Here are some variations below.

Too Many Redirects Chrome

too many redirects chrome

Image Source

Too Many Redirects Safari

too many redirects safari

Image Source

Too Many Redirects Firefox

too many redirects firefox

Image Source

This error is likely caused by a configuration error on the website you’re trying to visit. If the website in question is your website, then you have to take steps to resolve it as soon as possible. Let’s walk through solutions below.

How To Fix Too Many Redirects

  1. Clear cookies on the redirecting website.
  2. Clear your browser cache.
  3. Ensure your SSL certificate is installed correctly.
  4. Evaluate your third-party services and plugins.
  5. Reset your htaccess file.
  6. Contact your hosting provider.

These steps apply to any website, no matter what website builder or content management system (CMS) it uses.

However, if you have a WordPress website, then there are some unique steps you can take to resolve the too many redirects error. Check out How to Fix the Redirect Loop Error in WordPress to learn more.

1. Clear cookies on the redirecting website.

To start, try clearing cookies on the website causing the redirect loop. The process is similar for any web browser. The steps for each are outlined below.

Chrome

  • At the top right, click the Customize icon then click Settings.

Navigate to setting to clear cookies on Chrome

  • Click Privacy and security from the left toolbar.
  • Click Cookies and other site data.

Click Cookies and other site data on Chrome

  • Scroll down and click See all cookies and site data.

Click see all cookies and other data on Chrome

  • At the top right, search for the website’s name.
  • To the right of the site, click Remove.

Click remove redirecting loop website on Chrome

Safari

  • Click Safari > Preferences.

click Safari > Preferences to clear cookies

  • Click Privacy.
  • Click Manage Website Data.

Click manage website data to clear cookies on safari

  • Use the Search field to find the name of the website causing the redirect loop.
  • Select the site and click Remove.

Remove redirecting website on Safari

  • Click Done.

Firefox

  • Click Firefox > Preferences.
  • Click Privacy & Security from the left toolbar.
  • Scroll to the Cookies and Site Data section.

Click Cookies and Site Data on Firefox to clear cookies

Image Source

  • Click Manage Data…
  • In the Search field, type the name of the website causing the redirect loop.

Remove redirecting website in firefox to clear cookies

Image Source

  • Click Remove All Shown.
  • Click Save Changes.

2. Clear your browser cache.

If clearing cookies on the specific website causing the redirect loop doesn’t work, try clearing your whole browser cache. The process is similar for any web browser. The steps for each are outlined below.

Chrome

  • At the top right, click the Customize icon then click Settings.

Click settings in chrome to clear cache

  • Click Privacy and security from the left toolbar.
  • Click Clear browsing data.
  • Set your time range, then click Clear Data.

Click clear data on Chrome to clear cache

Safari

  • Click Safari > Preferences.

click safari > preferences to clear cache in safari

  • Click Privacy.
  • Click Manage Website Data.

click manage website data to clear browser cache in safari

  • Click Remove All.
  • Click Remove Now.

click remove all and remove now to clear cache in safari

  • Click Done.

Firefox

  • Click Firefox > Preferences.
  • Click Privacy & Security from the left toolbar.
  • Scroll to the Cookies and Site Data section.

click cookies and site data to clear cache in firefox

Image Source

  • Click Clear Data…
  • Cookies and Site Data and Cached Web Content should both be check marked by default. Click Clear.

clear cached web content in firefox

3. Ensure your SSL Certificate is installed correctly.

If you’ve cleared your cookies and cache and are still getting the too many redirects error, then the issue could be your HTTPS settings. HTTPS means that your website uses a security protocol called Secure Sockets Layer (SSL) to encrypt data transfers between a browser requesting a website and the web server delivering that website.

This protocol can cause the redirect loop in special circumstances. For example, if you’ve forced SSL on your site without actually installing an SSL certificate, then you’ll likely see the error. That’s because all requests to your hosting server are sent over HTTP, which your server has to redirect to HTTPS again and again.

So it’s important to ensure your SSL certificate is installed correctly and renewed when needed. You can use an online tool like SSL Shopper, SSL Server Test, or Digicert, to test that your SSL configuration is installed, valid, and trusted in just a few minutes.

enter site URL in SSL shopper to check if SSL configuration is causing too many redirects errorn

4. Evaluate your third-party services and plugins.

If you’ve ruled out your cookies, cache, and HTTPS settings as causing the too many redirects error on your site, then check any third-party services you use.

If you use a proxy server — an  intermediary server that directs requests from multiple clients to different servers —then it could be causing the error message. For example, Cloudflare has a Flexible SSL option, which forces requests between clients and Cloudflare to be sent over HTTPS but allows requests between Cloudflare and your origin server to be sent over HTTP.

Cloudflare's flexible SSL option can cause too many redirect errors

Image Source

If that option is enabled but you already have an SSL certificate installed on your server, then your server will redirect these requests to HTTPS and likely cause the too many redirects error. You can resolve this issue by switching to another encryption mode, like Full or Full (strict).

If your site is on WordPress, then third-party plugins could also be causing the error. Redirect plugins allow you to easily and quickly set up redirects when the permalink of a post or page is changed or when other conditions are met. But sometimes changing the settings of these plugins or updating them can cause the too many redirects error.

To see if this is the issue on your site, try disabling your plugins. A good way to test this is by deactivating all your plugins in bulk, then reactivating them one by one to isolate the culprit. Here are the steps:

  • Login to your WordPress admin dashboard.
  • Select Plugins  > Installed Plugins .
  • Check the box next to Plugin  to select all your plugins.

Check the box next to the plugin to select all to temporarily disable

  • Choose Disable  from the Bulk Actions dropdown menu, and then click Apply .

Select disable in the bulk actions dropdown to fix too many redirects error

  • Update your site.

S’il n’y a pas d’erreur of too many redirects, start activating each plugin one by one and reload your website after each activation to identify the faulty plugin.

It is possible that you will need to contact the plugin developer to resolve the issue or find an alternative to use on your site.

5. Restore your htaccess file.

If none of the above steps have resolved the too many redirects error, the problem is likely to be how redirects are configured on your server. To verify that, you’ll need to access your hypertext access file or .htaccess file, change the number to it, and create a new one. For this, you can use an archive manager with cPanel or via the FTP client. The following steps are specifically for cPanel.

  • Go to File Manager  and select your .htaccess file.
  • Cliquez ensuite sur rename it to .htaccess_old. This is now your copy of security file.
  • I am a public_html
  • Create a new text file and name it .htaccess.
  • Copy and paste the following code into the file.

<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ – [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule>

  • You can now save and exit File Manager.

This will reset the .htaccess file to its default settings so you can now save and update your site. If this is not a solution to the problem of too many redirects, you can restore the backup .htaccess file.

6. Contact your hosting provider.

If none of the above steps resolve your issue, please contact your hosting provider. If the information you experience is one of too many redirects that is affecting your website’s performance, they may tell you what the exact cause is, or even fix it for you.

Solve the error of démasiados redireccionamientos

There is no foolproof way to avoid a too many redirects error, but there are steps you can take to resolve it. By fixing these errors as quickly as possible, you’ll ensure that visitors can continue browsing, browsing, and converting on your site with ease.

New llamada in action

Topics : Website Performance

Don’t forget to share this post!

Google Google translator

Google Google Translate


Video Load cannot follow 20 redirections

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…