Typically ERR_TOO_MANY_REDIRECTS (also identified as a redirect loop) occurs after a recent modification on your WordPress website, a misconfiguration of redirects on the server you are using, or incorrect settings with third-party services. But don’t fret; this error is honestly simple to fix.
The mind for ERR_TOO_MANY_REDIRECTS is pretty much what it says, and something is producing too many redirects, sending your site into an endless redirection loop. The website is stuck (like URL one points to URL two and URL two points back to URL one, or the domain has redirected you too many times). Unlike some other errors, these unusually resolve themselves and will reasonably need you to make an effort to fix them.
There are a couple of diverse varieties of this error depending upon the web browser you’re using.
- Google Chrome: In Google Chrome, this error will display as ERR_TOO_MANY_REDIRECTS
- Mozilla Firefox: In Mozilla Firefox, it will display as The page isn’t redirecting properly
- Safari: In Safari, it will show as Safari Can’t Open the Page
Tips to Fix ERR_TOO_MANY_REDIRECTS
Clear the Cookies and the Cache
When that error pops out, some browsers recommend that the issue might be the cookies. That’s why we also recommend you to try that even if you’re the site owner. But how exactly do you clear cache and cookies? It’s simple. It only needs a few minutes, although it varies depending on the browser you have. Here are some specific instructions:
Google Chrome
- At the top-right, you will notice three vertical dots. Press on it—next, select settings.
- Move down to the menu and Press on “Advanced.”
- Following, you need to press on “Clear browsing history.”
- Then, select “cache and cookies.”
- Decide the time range, which is how many cookies you need to delete based on the span.
- Next, tap on ‘Clear data.’
Mozilla Firefox
- Tap on the three small dots at the right-top of the page
- Then, press Clear data.
- Choose the option ‘Cookies and Cache,’ and press ‘Clear.’
Try refreshing your website again. If that approach doesn’t work, you will have to catch the next steps.
Clear the WordPress cache
If you have a caching plugin (Super cache WP or other) in your WordPress site, the next try should be removing the WP cache. As every plugin works uniquely, it’s essential to review the specs of the one you have installed on your site.
You can search on Google for the plugin’s name for more info or contact support for help. You will then get instructions on how to remove the cache in your plugin settings, particularly inside your WordPress admin dashboard.
Then, again, you need to refresh the web page to see if everything’s going well. In case there’s still an issue, you’re not there yet. Just catch the next step.
WordPress URL Settings
WordPress permits you to control the root safe place to buy modafinil online domain from a subdirectory. For example, you can have WordPress installed in a subdirectory example.com/wordpress and use it to serve the root domain example.com. These skirts were cluttering up your server’s root directory.
To demonstrate this, navigate to the Settings -> General panel in your WordPress admin dashboard and insert the WordPress Address and Site Address values.
The Site Address URL is something a person type in their browser to enter your website. The WordPress Address URL is where you have installed WordPress on your server. Only admins and users with backend access can view the WordPress Address.
For most WordPress websites, these records should remain identical though mistakes do occur.
To solve this, navigate to your WordPress admin dashboard and edit these URL entries to be identical. Give attention to the domain name and the HTTP vs HTTPS and www elements of the URL.
Many times, you cannot enter your WordPress dashboard because of the redirect loop. You can modify the same settings instantly by editing your wp-config.php File and setting the URL values of the following 2 WordPress constants.
define(‘WP_HOME’,’https://example.com’);
define(‘WP_SITEURL’,’https://example.com’);
Disable WordPress Plugins
Since any wrongly-configured WordPress add-on can generate redirect issues, you may need to try promptly disabling your other plugins as well. If the redirect problem is fixed after all of the installed plugins are disabled, that’s a fair indication that one of them is at fault.
Therefore, the last troubleshooting step is to attempt disabling each plugin one at a time. Usually, you can do this through the WordPress admin interface. Though, in the matter of a redirect error, you may not be capable of accessing the admin dashboard.
Review your HTTPS settings
A usual case of a redirect loop is an issue with HTTPS settings. This is particularly true if you have newly transitioned your site from HTTP. Usually, users forget to complete something in the process or make a stupid mistake during setup.
If you are doubtful, there are online guides that can walk you through every step of accurately migrating your site to HTTPS.
Disabling .htaccess File
There is a chance that some variable in your .htaccess File is causing your site to go into a loop of redirection. If that’s the problem, you can disable your folder to regain access to your website.
- Access the File Manager through your hosting control panel.
- Find your .htaccess file.
- Right-click on the File to rename the File. .htaccess_disabled, for instance.
- Now monitor if your site is loading correctly.
If it runs, monitor the .htaccess File’s configuration by right-clicking on the folder and Edit. It should seem like the default .htaccess configuration. If it’s not, remove the content from the File and paste these default rules there:
# BEGIN WordPress
<IfModulemod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Conclusion
It’s always necessary to keep backups of the website you have if something happens wrong or if you have to make any modifications to your site. Errors occur in any form, and at times, you least expect it. During those times, retain to stay calm and take steps, respectively.