How to Fix the Too Many Redirects Error in WordPress

wordpress too many redirects

Introduction

Too many redirects error is a common issue faced by WordPress users. It occurs when the URL setting of the website is configured to an incorrect web address or due to a faulty .htaccess file or a badly configured plugin. In this tutorial, we’ll discuss the causes of this error and provide four possible solutions to resolve it.

What is Too Many Redirects Error in WordPress?


The Too Many Redirects error is a result of a conflict between two different URLs when it comes to hosting a single WordPress blog. WordPress is designed in a way that it can only operate under a single URL. The error message indicates that the website is stuck in an infinite loop of redirects, leading to a browser displaying an error message.

Causes of Too Many Redirects Error


There are several reasons that can lead to this error, including:

Mismatch between the WordPress and Site addresses in the URL settings of your website.
A faulty .htaccess file or a poorly configured plugin.
Symptoms of Too Many Redirects Error
The error message will appear differently in different browsers. However, it generally appears as “Too Many Redirects” and the website will not load.

Solutions to Resolve Too Many Redirects Errors


Here are four possible solutions to resolve the Too Many Redirects error:

Solution 1: Check URL Settings
Log in to your WordPress account as an administrator.
Navigate to the Settings page and click on General Settings.
Double-check to ensure that both the WordPress and Site addresses match.
If there is a mismatch, make sure to set both web addresses to be identical.
Another way to check the URL is through the phpMyAdmin tool. Log in to the database and find the wp-options table.
Verify the URL details in the site URL and home rows to make sure they match.
You can also check the URL location manually in the wp-config.php file.
Solution 2: Disable Plugins
By default, WordPress stores all its plugin data in the plugins folder located in the wp-content folder.
Rename the plugins folder to plugins_disabled.
Visit the website to check if the redirection loop has been resolved.
If the issue is resolved, rename the plugins folder back to plugins and start deactivating the extensions one by one until you find the problematic one.
Solution 3: Disable .htaccess File
The .htaccess file is located in the root directory of WordPress.
Right-click on the .htaccess file and rename it by removing the dot from the file name.
Visit the website to check if the redirection loop has been resolved.
Solution 4: Clear Browser Cache
Clearing the browser cache can sometimes resolve the Too Many Redirects error.
Open your browser’s settings and clear the cache and cookies.
In conclusion, the Too Many Redirects error in WordPress can be a frustrating issue to deal with, but with the right steps, it can be resolved. By following the solutions outlined in this tutorial, you should be able to resolve the issue and get your website back up and running smoothly.

Read also: How To Make WordPress Website-Easy Tutorial 2020

Aijaz Alam is a highly experienced digital marketing professional with over 10 years in the field.He is recognized as an author, trainer, and consultant, bringing a wealth of expertise to his work. Throughout his career, Aijaz has worked with companies such as Arena Animation and Sportsmatik.com.He previously operated a successful digital marketing website, Whatadigital.com, where he served an impressive roster of Fortune 250 companies. Currently, Aijaz is the proud founder and CEO of Digitaltreed.com.