Error "Too many redirects" in wordpress

bhawanisingh

Administrator
Staff member
If you are working with Wordpress CMS then you surely face "Too many redirects" error in wordpress, mostly this error occur due to incorrect wordpress configurations.
Here are few methods to resolve this error:

Method 1 :
  • Login to Wordpress admin panel.
  • Click on "Settings" on left side.
  • After that click on "General Settings" and then add "Wordpress URL" and "Site URL". If your website is working with SSL then you can add https, you can add URL according to your domain.
  • Now click on "Save" changes.
Method 2 :
  • It may be possible that you have made any redirection in your .htaccess file which is conflicting. You can check this by renaming .htaccess file.
Method 3 :
  • You can add below code in your wp-config.php file to set website home and site URL.
Code:
# define(‘WP_HOME’,’https://domainname.com’);
# define(‘WP_SITEURL’,’https://domainname.com’);
NOTE: After making any changes its better to clear your browser cache and then try again.
 
Top