Running a self hosted WordPress.org website online has numerous advantages, however from time to time some simply solveable mistakes can aggravate inexperienced persons. White display screen of loss of life, Internal server error, and a few different commonplace WordPress mistakes can also be in point of fact stressing for brand new customers. Recently a person pointed our consideration to ‘Too Many Redirects’ error in WordPress. It is a commonplace factor that WordPress customers would possibly come throughout. In this text, we will be able to display you ways to repair error too many redirects factor in WordPress.
On Firefox, this mistake will probably be displayed like this:
“The web page isn’t redirecting correctly. Firefox has detected that the server is redirecting the request for this cope with in some way that can by no means whole.”
Why I’m Getting Error Too Many Redirects in WordPress?
This error most often happens due to a misconfigured redirection factor. As you understand that WordPress has search engine marketing pleasant URL Structure which makes use of the redirect serve as. Several different well-liked WordPress plugins additionally use the redirect capability. For instance, WordPress search engine marketing plugin lets in you to take away class base from class URLs via redirecting customers to a URL with out class base. WordPress SSL and cache plugins additionally use redirects.
Due to a misconfiguration in any of those redirection equipment, your website online would possibly finally end up redirecting customers to a URL this is if truth be told redirecting them again to the referring URL. In that case the person’s browser is trapped between two pages and therefore you spot the mistake.
If you don’t just like the video or want extra directions, then proceed studying.
How to Solve Too Many Redirects Error in WordPress?
The maximum commonplace misconfiguration that we’ve got come throughout time and again is when a person has unsuitable URL in WordPress Address URL or Site Address URL settings.
For instance, shall we suppose that your website online’s url is
http://www.instance.com and also you pass to Settings » General and set it to
http://instance.com. Most internet hosts permit you to make a selection whether or not you desire to to upload a www prefix to your area title or have it with out www. In case you had decided on to upload www to your URL, then including http://instance.com in your WordPress settings will purpose the mistake. Or if you happen to opted to use your area with out www prefix, then including it with www prefix in WordPress settings will purpose this mistake.
When a person will come to
http://instance.com, they’re going to be redirected via your server’s configuration to http://www.instance.com the place they’re going to be redirected again to
http://instance.com via WordPress as a result of that’s what you may have arrange in the settings.
If your website online was once operating nice, and also you you didn’t make any adjustments to the ones settings. Then you wish to have to touch your internet host, as a result of it’s most likely a configuration factor at their finish.
However, if you happen to wouldn’t have a competent WordPress web hosting supplier, they usually deny having any problems and/or refuse to assist you to, then you definately will have to imagine switching internet hosts or repair it your self.
To repair this, you wish to have to alternate your WordPress Address and Site Address. Go to Settings » General, alternate your WordPress and Site Address. If you may have your cope with with www prefix, then alternate it to non-www URL, and you probably have it with non-www URL then upload the www prefix.
Important: Make certain that you just don’t depart a trailing slash on the finish of your URL like
Change Site URL Without Access to Admin Area
In case you don’t have get right of entry to to WordPress Admin space, you’ll be able to nonetheless replace those settings via defining them in wp-config.php document. Simply attach to your web site the usage of an FTP shopper. Once you might be attached to your website online, you’re going to in finding wp-config.php document in your website online’s root listing. You want to obtain and edit this document the usage of a textual content editor like Notepad. Simply upload those two traces to the document and don’t overlook to substitute instance.com with your personal area.
Save the document and add it again to your internet server. Now take a look at to get right of entry to your WordPress website online. If you continue to can’t get right of entry to your website online, then take a look at to upload your area with www prefix.
Fixing Other Redirect Issues
If the former step didn’t clear up your downside, then it’s most probably that there’s a plugin factor together with your website online. As we discussed previous that a number of WordPress plugins use redirection ways to do numerous issues. We will take a look at to assist you to troubleshoot.
First you wish to have to determine is which plugin is inflicting the problem. Did you turn on a brand new plugin lately proper earlier than this mistake took place? Did you replace plugins proper earlier than this mistake took place? If the solution to any of the above questions is YES, then it narrows the issue down to that plugin. You can merely deactivate that plugin via deleting that plugin’s folder from wp-content/plugins/
If you have no idea which plugin is inflicting the problem, then you could possibly want to perform a little trial and blunder. The fastest method to do that is via deactivating all plugins. After deactivation of all plugins in your website online, you wish to have to use FTP to obtain the .htaccess document as a backup. You can in finding this document in your website online’s root listing. Once you may have downloaded the document, delete it out of your server. Now take a look at to get right of entry to your website online.
This procedure will permit your server to regenerate a brand new .htaccess document, and because there are not any plugins activated, it’ll possibly repair the problem. If the mistake is long gone now, then you understand for positive that it was once a plugin inflicting this mistake.
The subsequent step is to in finding out which plugin was once the perpetrator. To do that, you wish to have to obtain and set up contemporary copies of your entire plugins. Activate plugins one after the other and after activating each and every plugin take a look at to browse a number of pages in your website online the usage of a distinct browser as a non-logged in person. Hopefully you’re going to in finding the plugin that led to the problem.
These are the entire conceivable answers that can repair this “error too many redirects factor” in WordPress. Did any of the above answers fastened the issue for you? If so, then please tell us in the feedback. Have you encountered the mistake too many redirects factor in the previous? how did you repair it? If you understand a repair that isn’t indexed in the thing above, then please give a contribution in the feedback underneath. We will make sure that to stay the thing up to date with any new recommendation from our customers.
If you loved this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You too can in finding us on Twitter and Facebook.