Fixing The WordPress Err_Too_Many_Redirects Error In 2 Minutes
The ERR_TOO_MANY_REDIRECTS error on WordPress might get you confused initially, but it is simply an error that indicates the user couldn’t possibly reach the requested page. The error is also known as the redirect loop and appears on the page when a user is caught in an infinite loop of chain redirects and unable to access the site’s content.
Now there are several reasons for that ranging from plugins to cookies, but in a nutshell, WordPress ERR_TOO_MANY_REDIRECTS can significantly affect your credibility and cause a decline in sales.
In this piece, we’ll explain how you can fix the WordPress ERR_TOO_MANY_REDIRECTS error in 2 minutes; but before that, here’s a brief overview of the redirect loop to help you understand the root cause of this error.
What is ERR_TOO_MANY_REDIRECTS In WordPress?
To understand the root cause of ERR_TOO_MANY_REDIRECTS, you first need to have a fair understanding of what Redirection means.
In simpler words, Redirection can be called a process in which a user clicks on a link and redirects to a new address. This usually comes in handy when the content of a page is transferred to a new address by changing the default permalink.
Here’s an example. Suppose you have an existing page https://example.com/2010, and you changed its permalink to https://example.com/new-post. Now your audience would automatically be redirected to the newer address instead of, the older one.
Therefore, if you see the ERR_TOO_MANY_REDIRECTS error, it means you’re caught in an infinite loop of Redirection, and none of your users can access the website’s content.
Here’s how ERR_TOO_MANY_REDIRECTS looks on different browsers.
On Google Chrome, it says: “This webpage has a redirect loop ERR_TOO_MANY_REDIRECTS.”Or “This page isn’t working. www.example.com redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS”
On Mozilla Firefox, it says: “The page isn’t redirecting properly. Firefox has detected that the webserver is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies ERR_TOO_MANY_REDIRECTS.”
It is worth noting this redirect loop might be the result of setting up third-party redirection tools on your site. Therefore, it is a first-rate idea to look out your redirection plugins to see if you’ve unintentionally set up a loop and caused an ERR_TOO_MANY_REDIRECTS error.
Now that you’ve better knowledge about this error, let’s move down to how you can easily fix the WordPress ERR_TOO_MANY_REDIRECTS Error.
How To Fix The WordPressERR_TOO_MANY_REDIRECTS Easily In 2 Minutes?
Even though getting rid of this error may feel like a hassle, but it can easily be resolved by tweaking some of your WordPress settings in most cases.
- Go to WordPress Dashboard, navigate to the settings tab, and click on
- Now check your WordPress Address and Website Address (URL). Note that both these addresses should match as they represent WordPress core installation and domain that you will use to find yourself on the internet. If these addresses do not match, they’ll create a redirect loop.
- Once you’ve matched the addresses in both fields, click on the Save changes
- Now check your website to see if the ERR_TOO_MANY_REDIRECTS error is resolved.
Now you know how to resolve ERR_TOO_MANY_REDIRECTS in WordPress easily in 2 minutes. While in most cases, this method is effective, there are some cases where it isn’t. Therefore, here’s a rundown of 6 alternative ways that you can use to fix the WordPress ERR_TOO_MANY_REDIRECTS error.
6 Alternative Solutions To Fix ERR_TOO_MANY_REDIRECTS In WordPress
Try these 6 easy alternatives to fix WordPress ERR_TOO_MANY_REDIRECTS.
- Match the WordPress Address and Website Address Without Using WP Admin
- Delete Cookies from Your Browsers
- Clear Cache from Your Browser, Server, And Plugins
- Lookout for Plugin Conflicts
- Redefine Your .htaccess File
- Remove SSL (Secure Socket Layer) Redirects from The Origin Server
1. Match the WordPress Address and Website Address Without Using WP Admin
While the method mentioned above would work pretty much every time, certain errors keep you from accessing your WP Admin. In such a condition, you wouldn’t be able to match your WordPress and website addresses straightforwardly.
Fortunately, there’s another way around using it which you can easily match both addresses.
The second method technically requires you to edit your wp-config.php File via FTP (File Transfer Protocol).
Note that you first need to get access to your FTP client, which you can easily get from your hosting provider. Or you can also leverage third-party tools such as FileZilla.
Image source: FileZilla
- First, you need to retrieve your FTP credentials to connect to the server.
- Once you’ve established and launched a connection, access the public_html directory.
- In the public_htmldirectory, look for wp-config.php and start editing.
- Now look for these lines of code.
define (‘WP_SITEURL’, ‘https://example.com’);
define (‘WP_HOME’, ‘https://example.com’);
- Check if the addresses in both lines match with each other or not. If both addresses do not match, edit them both and match them.
- Now Save the File and reupload the wp-config.php to your server.
- Now, go to your website and see if the ERR_TOO_MANY_REDIRECTS is gone.
2. Delete Cookies From Your Browser
Even though browser cookies come in handy quite a lot, they can cause serious trouble at times, which is the Redirect loop. Clearing your web browsers from cookies is yet another great way of resolving the ERR_TOO_MANY_REDIRECTS. Here’s you can do it on Google Chrome and Firefox.
How To Clear Browser Cookies From Google Chrome?
- Click on the three minor dots in the top right corner and go to the Settings.
- Click on the Advanced
- Now click on the Clear browsing history; a dialogue box will appear where you’ll have to select cache and cookies.
- Now select the time range and click on the Clear data to clear your browser cookies.
How To Clear Browser Cookies From Mozilla Firefox?
- Click on the three small dots on the top right corner
- Now select the Clear data
- Now select the Cookies and Cacheoption and click on the Clear
Once you’ve deleted all your browser cookies, refresh your site to see if the ERR_TOO_MANY_REDIRECTS is gone. If not, then move down the third step – clearing the cache.
3. Clear Cache from Your Browser, Server, And Plugins
Caching is quite a useful process as it technically helps you load web pages faster than normal. However, there’s a catch. Sometimes, this process may also cache redirect loops which cause ERR_TOO_MANY_REDIRECTS.
But it’s quite simple to resolve this error by clearing your cached data.
To clear your browser cache, you can opt for the same method for clearing the cookies.
As for the server cache, you need to log into your hosting account and clear your cache from the settings. Note that certain hosts even allow you to clear cache from your WP-admin.
The next step is to clear the plugin cache. Note that each cache plugin works differently. Therefore, you need first to check the specs of the plugin you’re using on your site. In general, you can find an option to clear your cache in the plugin settings, or you can even Google the name of your plugin to understand better.
Once you’ve cleared the cache from the server, browser, and plugins, reload your site. If the ERR_TOO_MANY_REDIRECTS is still there, move towards the next alternative, resolving the plugins conflicts.
4. Lookout for Plugin Conflicts
Plugin conflicts are a major reason behind many errors, including the ERR_TOO_MANY_REDIRECTS in WordPress.
To resolve the plugin conflicts, you first need to access your dashboard and deactivate all the plugins.
If you can’t access your dashboard by any means, you can access your FTP and deactivate the plugins. Go to the wp-content in the public_html file and select plugins.
Now rename all of the existing plugin subdirectories.
Once you’ve deactivated and renamed all the plugins, go to your dashboard and start activating plugins one by one each. You can also do this by altering the name back to the original in the FTP.
Note that you need to reload your site after activating each plugin and wait for the redirect loop to occur. Once the error occurs, the last activated plugin is causing the issue.
In that condition, the best you could do is to delete that plugin and download an alternative.
5. Redefine Your .htaccess File
There’s a high chance that your .htaccess file is the culprit behind WordPress ERR_TOO_MANY_REDIRECTS. This is mainly true in the case of browsers like Safari, Chrome, and Firefox.
To replace the corrupt version of your .htaccessfile, you first need to have a backup copy of a non-corrupted .htaccess file.
Now open your FTP and navigate to the .htaccess file.
Note that if you can’t find your .htaccess file, you need to turn on the Show hidden files in your client FTP.
After you’ve located in the hidden files, find and delete your existing .htacess file. Now upload a fresh or backed up copy of the .htacessfile in your FTP.
Finally, reload your site to resolve the ERR_TOO_MANY_REDIRECTS.
6. Remove SSL (Secure Socket Layer) Redirects from The Origin Server
There’s another solution for removing the WordPress ERR_TOO_MANY_REDIRECTS for those who’re leveraging cloud resources such as Cloudflare.
Even though Cloudflare’s security protocols include the SSL certificate, which protects your site from hackers and malware, unfortunately, sometimes it is also the cause of ERR_TOO_MANY_REDIRECTS. The main reason behind SSL causing this error comes around when HTTP URLs are redirected to the pages using HTTPS.
To resolve this issue, you need to clear these redirects from the servers provided by your host.
Another great practice is installing and activating Cloudflare Plugin in your WordPress site, as it allows you to set automatic HTTPS rewrites. The automated functions allow you to prevent WordPress errors like ERR_TOO_MANY_REDIRECTS easily.
So here are the key takeouts of this read. The WordPress ERR_TOO_MANY_REDIRECTS means a redirect loop that keeps you and your audience from visiting your site content. You can quickly resolve this error by matching the WordPress and Website URLs in your WP-Admin. However, the other alternate methods include
- Matching the WordPress Address and Website Address Without Using WP Admin
- Deleting Cookies from Browsers
- Clearing Cache from Browser, Server, And Plugins
- Resolving for Plugin Conflicts
- Redefining the.htaccess file
- Removing SSL (Secure Socket Layer) Redirects from The Origin Server