Are you having trouble with the WordPress error “ERR_TOO_MANY_REDIRECTS”?
When your site becomes stuck in an unending loop of redirects, this error occurs. Your web browser will simply display the Too Many Redirects error message instead of allowing the cycle to continue.
Issues with caching/cookies, your site’s URLs, your site’s .htaccess file, or possibly the plugins you’re using might all cause this problem.
We’ll go through what this issue is and some of the most common causes in this post. Then we’ll show you how to fix the Too Many Redirects WordPress problem in six different methods. Let’s get this party started!
What causes the “ERR_TOO_MANY_REDIRECTS” WordPress error?
The Problem of Too Many Redirects When a user’s browser attempts to locate your website, it cycles through various URLs and servers. As a result, the browser will be unable to connect to the proper server, trapping the visitor in an endless redirect cycle.
Users will be warned about this mistake in a variety of ways depending on their browser. Most browsers, on the other hand, will display a warning that the website “redirects too many times” or that the page “redirects improperly.” If you get either of these warnings when trying to access your WordPress site, it’s likely that your site’s redirects are broken.
Here is how the error represents in different browsers:
- Chrome – This page isn’t working. Example.com redirected you too many times. ERR_TOO_MANY_REDIRECTS.
- Firefox – The page isn’t redirecting properly.
- Safari – Safari Can’t Open the Page. Too many redirects occurred trying to open Example.com.
- Edge – This page isn’t working right now. Example.com redirected you too many times. ERR_TOO_MANY_REDIRECTS.
The Too Many Redirects WordPress problem can be caused by a number of factors. A misconfigured website URL, an old cache, or a plugin incompatibility are examples of these.
This WordPress server problem prevents users from visiting your site, regardless of the cause. This can be catastrophic for your conversion rates and can harm your reputation as a trustworthy and professional company in the long run.
You may be unable to access your WordPress admin area entirely depending on the severity of the redirect loop. This makes it impossible to complete important tasks like publishing new material, upgrading plugins, and monitoring comments.
How to fix the “ERR_TOO_MANY_REDIRECTS” WordPress error (best methods)
A variety of issues, software, and mistakes might cause the Too Many Redirects WordPress error. If you get the Too Many Redirects warning, there are a few things you can do to break the redirect loop and get your site back on track.
- Clear browser cookies and cache
- Clear your caching plugin
- Disable your plugins
- Check URL settings
- Reset .htaccess file
- Check domain settings
1. Clear browser cookies and cache
A redirect error might be caused by a discrepancy in the URL data saved in your browser. This error can also occur if you’ve used a redirect since your browser last cached the website you’re trying to access.
Try browsing your site using a different browser or your browser’s Incognito window to see whether this is the cause of your Too Many Redirects WordPress error. If this appears to address the problem, your regular web browser’s cookies and cache may need to be cleared.
Depending on the browser you use, this process may differ. For example, in Google Chrome, the three-dot icon in the upper-right corner can be used to erase the cache and cookies. After that, go to More Tools:
Next, choose Clear browsing data. In the subsequent popup, pick a time range. If you want to delete everything, select All time:
Select the checkboxes for Cookies and other site data and Cached pictures and files after you’ve chosen your time range. After that, select Clear data.
You should be able to access your site without seeing the redirect problem now that Google Chrome has deleted all of its cookies and cache. If you’re not sure how to accomplish this in your browser, we recommend consulting its official instructions for additional details.
You’ll need to log in to your WordPress dashboard again (and you’ll be logged out of other sites) because you’re erasing your cookies.
2. Clear your caching plugin
Caching plugins are an excellent approach to improve the speed of your website. They may, however, have an impact on how your site handles the redirection. In rare cases, this can result in the WordPress error Too Many Redirects.
Check Out – How to Enable Browser Caching in WordPress
It’s a good idea to clear the cache if you’re using a caching plugin. Because this process will differ based on your selected solution, it’s a good idea to consult the documentation for your plugin for detailed instructions. For example, if you are using WP Rocket caching plugin you can clear the cache in the sidebar.
From there, you can select the Empty all caches button. Then try accessing your WordPress site. If your browser no longer displays the redirect warning, you’ve successfully identified the culprit and resolved the problem.
3. Disable (and then re-enable) all of your plugins
Plugins play an important role in the WordPress experience. They do, however, add a lot of third-party code to your site. This may have an impact on how the WordPress core handles redirection, resulting in this common issue.
It’s difficult to spot the cause when you’re utilizing many WordPress plugins.
You may then deactivate all of your plugins to test this. If the redirect error suddenly disappears, a plugin is almost certainly to cause.
Check Out – Best WordPress Plugins for Designers in 2021
Reactivate each plugin separately to find the culprit. You’ll know you’ve found the offending plugin when your browser starts complaining about the amount of redirection again. The plugin can then be deactivated and deleted, or you can contact its developer for assistance.
After that, go to the WordPress admin area and log in. If you can now access your dashboard, you can fairly infer that a plugin is to blame.
If the plugin in issue is vital, you may need to find a replacement before resuming normal operations on your site. However, with nearly 60,000 plugins in the official WordPress repository alone, finding a solution that suits your needs – and avoids the redirect issue – should be simple.
4. Check your URL settings
Redirect errors can sometimes be caused by a mismatch in your WordPress URL settings. In the WordPress dashboard, go to Settings > General to check your settings:
The Site Address and WordPress Address will be the same for the vast majority of WordPress sites. If not, make the necessary changes to the one that is erroneous. This should put an end to your reroute issues.
Make certain that the URL protocol is right as well. If you’ve installed an SSL certificate to enable HTTPS, for example, make sure that both of your site’s URLs use HTTPS rather than HTTP.
5. Reset your .htaccess file
WordPress manages redirection using its .htaccess server configuration file on most web hosts. Some plugins have been known to make changes to this crucial file, causing redirects to fail.
Even if you delete the offending plugin, the changes it made may still be visible in .htaccess. If you’ve tried everything else and are still having problems with redirection, you might need to manually reset this file.
To start, connect to your website using an FTP client. You can then navigate to your site’s root folder:
It’s a good idea to save a duplicate of this file to your computer because it’s so important. This will act as a backup in the event that something goes wrong. You can delete the .htaccess file from your website now that you have a backup on your device.
Next, try accessing your website to see whether the problem has been addressed. If your WordPress site appears to be working fine, the .htaccess file is most likely corrupted.
This file should be recreated automatically by WordPress, but it never hurts to double-check. Go to Settings > Permalinks in the WordPress dashboard. Select Save changes (you don’t have to make any changes) and WordPress will produce a new, error-free .htaccess file for you.
6. Check your domain settings
You had the option of assigning your website a URL with the “www” prefix or without it when you built it. You may, for example, set your site’s address to “https://www.example.com” or just “https://example.com.”
Both options are usually compatible with a single domain at most hosting providers. This ensures that visitors may reach your site regardless of whether or not they type “www” in the address bar.
When you install WordPress, it usually detects these URLs automatically using your web host’s default domain settings. After the initial configuration, however, these options can be changed. The redirect problem can be caused by a mismatch between your WordPress URL setup and your domain settings.
Check Out – 6 Best Gutenberg Template Plugins for 2021
Every service provider is unique. However, you can generally verify your domain settings using your web host’s control panel. To begin, log into your hosting panel and go to your domains list:
You should be able to tell whether or not your domain is set to use “www.” Then, in the WordPress admin, go to Settings > General and double-check that you’re using the same scheme.
If there’s a mismatch, make the necessary modifications to the WordPress URL settings and save them. This should be sufficient to remedy the inconsistency and eliminate the WordPress error of Too Many Redirects.
Fix the “ERR_TOO_MANY_REDIRECTS” WordPress error for good
It’s not always easy to figure out what’s wrong with WordPress. If redirects are stopping you from accessing your site, there could be a number of reasons for this – and a number of viable solutions.
When you get the ERR_TOO_MANY_REDIRECTS issue, deleting the local browser cache and your caching plugin is a good idea. If the problem remains, you’ll need to look into more technical solutions. This includes checking for a mismatch in your URL settings and resetting your .htaccess file.