A common glitch that may lead to the “too many redirects” error is if you have an incorrect URL in either the Site Address URL or WordPress Address URL settings.
For instance, consider that your site’s URL is http://www.mysite.com. Then, you head to Settings -> General and edit the URL to http://mysite.com. Make no mistake about it; several web hosts give you the choice to attach a www prefix to your domain name.
If you decide to add this prefix to your site URL and then later access your WordPress settings to remove the www prefix, a “too many redirects” error would surface.
Similarly, if your domain name doesn’t have a www prefix attached to it and you decide to add it in the settings, the same error would pop up.
To make things easier to understand, consider the following example:
Suppose an internet user decides to access your website by entering http://mysite.com. Your server’s config settings would direct the user to http://www.mysite.com, after which they will be redirected once again to http://mysite.com by WordPress because that’s what you specified in the settings.
But what if you didn’t make any changes to the URL settings and your site still ran into the same error? Well, then it’s ideal to reach out to the hosting provider or attempt to fix the problem yourself. How? Here’s how!
- Head over to Settings -> General
- Edit your Site and WordPress Address by removing the www prefix if the domain name has it or adding it to your domain name if it isn’t there already.
- Ensure that the URL doesn’t have a trailing slash at the end, for example, http://mysite.com/.
Hey,
Excellent post with good information. You have presented each point impressively along with crucial information that is true enough to understand.
I faced this issues from a long time.
After reading this complete post I got ideas and have also boosted my knowledge up to some limit.
I Am sure that this post will surely help lots of people. Fabulous work and keep sharing more similar posts.
Eventually thanks for sharing your knowledge and such an engaging post.