Today you’ll learn how to fix the too many redirects issue in WordPress error. If you see an error like this on your site it’s likely from a misconfigured plugin that is causing an infinite redirect loop between two urls.
For instance, if you go to your general settings page and have your WordPress address like this and site address like this that’s fine.
But be sure you didn’t set your web host preference to add the www and this area doesn’t have the www because then it will bounce back between the two urls.
Now if you don’t have access to your WordPress admin, then you can go into your wp-config.php file and add these two lines of code like this to it.
You can also disable all plugins to see if that fixes the redirect issue. If it does fix it then one of the plugins is causing the issue and you can activate each plugin one by one to find the offending plugin.