ERR_TOO_MANY_REDIRECTS

0
129

If you have seen “ERR_TOO_MANY_REDIRECTS” on your browser on any website, then you are not alone. Many users get this error.

Why would this error occur?

This problem manly occurs when you redirect from one url to other and some how get stuck in loop. When Browser the problem, it breaks the loop and gives the error.

How can you fix this error?

There are multiple reasons, Some recommendations are given below.

Delete Cookies of that particular website.

In you browser(Mozilla, chrome, etc), delete the cookies of that particular website. Different Browser have different steps to delete cookie. You can google it for process of deleting cookie for that particular Browser.

Clear WordPress cache for WordPress site and browser
  • Clear cache from your WordPress Site Admin panel with help of plugin you are using for cache on WordPress.
  • Do clear cache from your Browser. Different Browser have different steps to delete cache. You can google it for process of deleting cache for that particular Browser.
  • If you are using CDN(Content delivery Network), Do clear the cache from CDN dashboard.
Check flow of redirect loop

Determining the flow of Redirection can also help you in solving your problem. You can track redirection loop of your website on http://www.redirect-checker.org/ .

Check HTTPS settings
  • Do not use plugins to redirect website from HTTP to HTTPS. Add code Manually in your .htaccess file.
  • Use SSL redirection, only if SSL certificate is installed on your website.
Check third-party services

If you are using third party service like CDN , then also you can face “ERR_TOO_MANY_REDIRECTS” problem, if CDN is not configured properly.
For Example : If you installed SSL on your WordPres Site and performed the redirection on your server from HTTP to HTTPS on your server and on your CDN you have enable the flexible(cloudflare), that redirects all requests to your hosting server on HTTP and can cause loop.

Check your WordPress general settings

Check that WordPress Address (URL) and Site Address (URL) in General setting of your WordPress panel are not pointing to a wrong domain or are mismatched.

Also check for wp-config.php file of your website.

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Temporarily disable WordPress plugins

You can disable all WordPress Plugin, as one of the reason can be corrupt/outdated plugin , setting and updates can also cause redirect conflict.

Check redirects on your server

Do check for redirection on server i.e. in .htaccess file manually, if there is any redirection rule other then HTTP to HTTPS. You can also just rename the old .htaccess file and create a new .htaccess file write the default rules.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress