How to fix Too Many Redirects Error in WordPress 2021?
Friends, are you the owner of a website and your website is self hosted on WordPress.org. We all know that a site built on WordPress.org has many benefits.
But we also often see errors that can be easily solved in this. Which may bother any new beginner, if they do not know how to fix these errors.
Today we will tell you how to fix a similar error, this error is “Too Many Redirects” in WordPress. White screen death, Internal server error, This is all WordPress common errors.
With whom WordPress website users around the world have to face it at some time. In this article we will show you how you can fix the “Too Many Redirects” error in WordPress.
Why Show Too Many Redirects Error in WordPress?
Friends, in WordPress we have too many redirects error show due to misconfigured redirection issue. We all know that WordPress SEO friendly URL Structure Is, which uses the redirects function.
Apart from this, many such popular WordPress seo plugins There is also, who use the redirects function. So that it removes the category from your URL and directly redirects you.
So that you do not show category in the URL of any post or article. Just show you the URL of the article with website domain name.
Any kind of misconfiguration in any such redirection tools can redirect your site users to a URL. Which again redirects them back to the referring URL.
Because of all this, the browser of the users remains stuck between two pages. Because of which again we get this error show, as shown in the image below.
How to Fix Error Too Many Redirects Error in WordPress
The most which is misconfiguration, due to which again we have to be two to four from too many redirect issue. The most common reason for this is when you mess up with the incorrect WordPress Address URL or Site Address URL settings in WordPress.
For example, if you understand it this way, assume that the URL of your website http://www.example.com is. Now go to your Settings >> General option http://example.com Let’s set it to
At first glance, it can be deceiving to see that both the URLs are the same. There are no changes in any of the URLs in both, but this is not the case. Where WWW is being used in the first URL.
By the way, most web hosting allows you to choose this. You can use www. Whether to use prefix or not.
In this case, if you Choose as prefix next to your domain name. Then later if you go and change it in your wordpress settings, then you will show an error because of it.
Or you have www. Had chosen to use his domain name without using prefix. Then later you go to your WordPress settings and change it. Then you will have too many redirects error show.
The reason for this is that whenever a user visits http://example.com. So it automatically gets redirected through your server configuration and reaches http://www.example.com.
Then from there it is redirected and sent back to http://example.com via wordpress again. Because in WordPress settings you set up this URL.
So that the browser of the users remains stuck between these two URLs and you have to face too many redirects issue. Apart from this, if your site is working properly and you have not made any changes related to URL settings.
So in such a situation, then you should contact your web hosting provider. This may be due to a configuration issue from their side.
If they do not help you by contacting the hosting provider. Or he tells you that there are no issues on his behalf or he refuses to help you.
Then you leave that hosting to someone else WordPress hosting Switch to your website by taking hosting from the provider. Then after that if any issue occurs to you, then you can fix it yourself or ask for help from that new hosting provider.
To fix this, you will need to change your WordPress Address and Site Address. For this you must first Settings >> General, Have to go.
After that you have to change WordPress and Site Address. If your address is starting with www prefix, then you change it and set it to non-www URL. If your address starts with a non-www URL, then you have to add www prefix to it.
How to Change Site URL Without Access to Admin Area
Many times it happens that we are not able to access our WordPress Admin area. Even in such a situation, you wp-config.php You can update the settings by defining the file.
For this you simply Ftp Have to connect your website using the client. Once you connect your website. After that you can find the wp-config.php file in your site’s root directory.
After that you have to download the wp-config.php file and edit it using any text editor such as Notepad. For this, you just have to copy the code below and add it to the file.
But you have to keep in mind that you have to replace example.com in the code with your domain. After this is done, you have to save the file and upload it to your web server.
After doing all this, you should go back to your browser and try to access your WordPress site. If you are still not able to access your site, then you should try adding www prefix with your domain name.
Other Solution for Fix Too Many Redirects Issue
This issue does not resolve even after changing the domain name prefix. This means that only one of the install plugins in your WordPress plugin is responsible for this.
You have to find that plugin and delete it by unactive. For this, either you can uninstall and check all the plugins installed in WordPress one by one.
Or you can deactivate and check all WordPress plugins at once. After deactivating the plugins, you should download the .htaccess file using FTP as backup.
You can find this file in the root directory of your website. After downloading the .htaccess file, you have to delete this file from your site server.
After this, you have to access and see your website again. By doing this, your site’s server again generates a new .htaccess file for your site.
Until this time, no plugin will be activated on your website, because you have deactivated the plugin. Now if you are not having too many redirects issue, it means that only one of the plugins is responsible for this error.
Now you have to find out which plugin it was causing this issue. For this, you have to activate and install a fresh copy of all the plugins in your WordPress site.
Whenever you download and install a plugin, you go to the browser and check your website. That too many redirects issue is not happening on your website again.
If after installing and activating a plugin, then there are too many redirects issue on the site. So you just have to uninstall and delete that plugin.
If you have any question, you can ask your question in the comments below. If you want, you can also email us directly at [email protected]
If you liked this information and this article was helpful for you, then share it with your friends on social media. If you are new to our website, then subscribe to our website.
So that you are getting notification of every latest post through email. This feature is completely free for our users, it does not incur any kind of charge, sooner or later.