Too Many Redirects Error in WordPress



How to Solve Too Many Redirects Error in WordPress?

#TooManyRedirects

Assume that your site’s url is  you go to Settings » General and set it to  Most web hosts allow you to choose whether you would like to add a www prefix to your domain name or have it without www. In case you had selected to add www to your URL, then adding in your WordPress settings will cause the error. Or if you opted to use your domain without www prefix, then adding it with www prefix in WordPress settings will cause this error.

When a user will come to  they will be redirected by your server’s configuration to where they will be redirected back to  WordPress because that’s what you have set up in the settings.

If your site was working fine, and you you did not make any changes to those settings. Then you need to contact your web host, because it is most probably a configuration issue at their end.

However, if you do not have a reliable WordPress hosting provider, and they deny having any issues and/or refuse to help you, then you should consider switching web hosts or fix it yourself.

To fix this, you need to change your WordPress Address and Site Address. Go to Settings » General, change your WordPress and Site Address. If you have your address with www prefix, then change it to non-www URL, and if you have it with non-www URL then add the www prefix.

Important: Make sure that you don’t leave a trailing slash at the end of your URL like 

Change Site URL Without Access to Admin Area

In case you don’t have access to WordPress Admin area, you can still update these settings by defining them in wp-config.php file. Simply connect to your website using an FTP client. Once you are connected to your site, you will find wp-config.php file in your site’s root directory. You need to download and edit this file using a text editor like Notepad. Simply add these two lines to the file and don’t forget to replace example.com with your own domain.

1
2
define(‘WP_HOME’,’
define(‘WP_SITEURL’,’
Save the file and upload it back to your web server. Now try to access your WordPress site. If you still can not access your site, then try to add your domain with www prefix.

Fixing Other Redirect Issues

If the previous step did not solve your problem, then it is likely that there is a plugin issue with your site. As we mentioned earlier that several WordPress plugins use redirection techniques to do a variety of things. We will try to help you troubleshoot.

First you need to figure out is which plugin is causing the issue. Did you activate a new plugin recently right before this error happened? Did you update plugins right before this error happened? If the answer to any of the above questions is YES, then it narrows the problem down to that plugin. You can simply deactivate that plugin by deleting that plugin’s folder from wp-content/plugins/

If you do not know which plugin is causing the issue, then you would need to do some trial and error. The quickest way to do this is by deactivating all plugins. After deactivation of all plugins on your site, you need to use FTP to download the .htaccess file as a backup. You can find this file in your site’s root directory. Once you have downloaded the file, delete it from your server. Now try to access your site.

This process will allow your server to regenerate a new .htaccess file, and since there are no plugins activated, it will most likely fix the issue. If the error is gone now, then you know for certain that it was a plugin causing this error.

The next step is to find out which plugin was the culprit. To do this, you need to download and install fresh copies of all your plugins. Activate plugins one at a time and after activating each plugin try to browse several pages on your site using a different browser as a non-logged in user. Hopefully you will find the plugin that caused the issue.

These are all the possible solutions that may fix this “error too many redirects issue” in WordPress. Did any of the above solutions fixed the problem for you? If so, then please let us know in the comments. Have you encountered the error too many redirects issue in the past? how did you fix it? If you know a fix that is not listed in the article above, then please contribute in the comments below. We will make sure to keep the article up to date with any new advice from our users.

Nguồn: https://3dcoffeeshop.com/

Xem thêm bài viết: https://3dcoffeeshop.com/category/cong-nghe

Author: admin

48 thoughts on “Too Many Redirects Error in WordPress

  1. Hello sir.I try this but does not work.In the c panel i have the www before my domain.Maybe this the promblem?Thank you

  2. sir please mine is http already without the 's' but still having issues with other pages on the wordpress , home page would open but when you try opening a page from the page itself , getting error to many redirect. I don't mind connecting with you Anydesk to assist me . Thank you .

  3. anyone know how to solve this but on paypal? whenever I try to log in to my account, it happens the same error. (it happens the same if I log in to my computer and iphone)

  4. is wcpo_options the same as wpnr_options and if so what do I do because it does not come with the s at the end of https and the SITE URL and HOME tabs are written in the same way? I need some help, please!

  5. Hi! Thanks so much for they video which helped so many people. Unfortunately, my Url is set correct (http://) but I still get the redirect. Any other way to solve the redirect issue? I am lost and desperate …

  6. None of that worked for me. What DID work was eliminating my mixed text. So I had "http://HL7Starterkit.com". I changed it to be "http://hl7starterkit.com". I had been trying to fix for weeks and that was it the entire time lol. Good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *