How to Fix the Too Many Redirects Error in WordPress?

“The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.”

This error usually occurs due to a misconfigured redirection issue in WordPress site. With the help of this article you will know how to fix- Too many redirect issues in your website. This type of error generally occurs due to internal redirection of websites.

Solution #1: Check the URL settings in WordPress Admin Dashboard

The first thing you need to do is check the URL settings of your website in your WordPress dashboard. To perform a URL check:

  1. Sign into your WordPress account as Administrator.
  2. Once logged in, navigate to the Settings page and click General Settings.
  3. When on the General Settings page, you will notice there is a list of settings and available options. Double-check and ensure that both, the WordPress and Site addresses, match.

If there is a mismatch between the two URLs (e.g. the WordPress Address is set to, but the Site URL points to, then you will need to make sure that both web addresses are same.

Solution #2: Check the URL in wp-config.php

wp-config.php is the place where WordPress stores its database connection settings. In the main WordPress configuration file, users are also able to manually specify their URL location. This is one of the most preferred methods, since it does not require direct access to the admin panel and phpMyAdmin.

If you have set the website URL manually in your WordPress config, open up the file wp-config.php in your main domain directory and check your script for the following two global variables – define( ‘WP_HOME’, ‘’ ); and define( ‘WP_SITEURL’, ‘’).

Please verify that the WP_HOME address matches the WP_SITEURL hostname in the code.

Solution #3: Check .htaccess file Redirection rule

Login to cPanel account and go to File Manager

Go inside public_html and find .htaccess file. Open the file and check SSL redirection rule

Solution #4: Check into SSL/TLS in Cloudflare

Login to Cloudflare dashboard and go to SSL/TLS section and check the redirection. Make sure everywhere the redirection should be same. You can disable this redirection in Cloudflare. At last you can also modify the SSL to Flexible mode.

If you have tried all of the above solutions and none of them has helped so far, you can temporarily disable WordPress’s main .htaccess file. The renaming process is pretty easy to follow. All you need to do is right-click on the .htaccess file and then hit the Rename button. Remove the dot from your file name and save the submitted changes.

Was this answer helpful?

Related Articles

How to display Related Pages in WordPress?

Step::1 Login to your WordPress admin dashboard Step::2 Go to Plugins and click on Add...

How To Fix ‘413 Request Entity Too Large’ WordPress Error using .htaccess?

This error occurs generally when a user tries to upload a large size file and media in the...

How To Force Logout All Users In WordPress At Once?

How To Force Logout All Users In WordPress At Once? Step::1 Let’s start by logging into the...

How to Add Google Analytics to your WordPress website?

In this article, we will share how you can easily install Google Analytics in your WordPress...

How to Add WhatsApp live chat to your WordPress site?

Step::1 Login to your WordPress dashboardStep::2 Go to the Plugins section and click on Add...