How to Fix WordPress Too Many Redirects Issue

How to Fix WordPress Too Many Redirects Issue

The too many redirects error, technically speaking, Error 310, is a common issue that has been annoying numerous WordPress beginners. When this error happens, your site might not be accessible, and instead, visitors see a blank page with a message saying the page has a redirect loop.

The issue could be caused by several reasons, and in most cases, it can be fixed easily once you find how it arises. So we will analyze the possible causes in below and discuss the solutions for each of them. But at first, get to know some simple facts about the redirection error.

Brief Information about WordPress Too Many Redirects Issue

WordPress comes with a redirect function which contributes to SEO-friendly URLs. When there is a misconfiguration in WordPress settings or a WordPress plugin which uses redirects, the error could appear.

During such an error, your WordPress site is probably in a situation that “Page A points to Page B, and Page B points back to Page A”. Then the browser is trapped in an infinite loop. However, modern browsers are smart enough to detect the redirect loops and display an error message instead of keeping cycling.

WordPress Too Many Redirects

Cause 1: Incorrect WordPress Redirects

One of the most common causes of the too many redirects error is that you have created incorrect redirects in redirect plugins or SEO plugins like Yoast SEO. For example, you may have redirected “” to “”, and later you forgot the configuration and created another redirect from “page1” to “page”.

Solution: If you are using a redirect plugin to create redirects for your WordPress site, check all the existing redirects in the plugin thoroughly to find out the mistakes you have made. Once you see one redirect from Page A to Page B and another from Page B to Page A, delete the one that is less important. For instance, if you want your visitors to land on Page B, then delete the B-to-A redirect.

Cause 2: Incorrect WordPress URL Settings

If there is no mistake in the manual redirects created in plugins, you can have a check on the “WordPress Address” and “Site Address” that you entered in the general settings in the WordPress admin area. There could be a conflict between the domain in the WordPress settings and the one you select with your web host.

WordPress Address and Site Address

Nowadays, most web hosts allow you to choose between “www” and “non-www” domains. So if you have chosen the “www” prefix but forgot it in WordPress settings, you will encounter a redirect loop. When visitors come to “”, they will be redirected to “” because your server has been configured so, and then they are redirected back to “” by WordPress. At last, the visitors end up with a redirect loop error.

Also, choosing your domain without the “www” prefix while adding “www” in WordPress settings causes the problem, too.

Solution: Firstly, log into your web hosting control panel and have a look at the domain of your WordPress site to confirm whether there is a “www” prefix. Secondly, log into your WordPress site and go to “Settings” > “General” to correct the “WordPress Address” and “Site Address” if they do not match the domain in your control panel. When making the changes, make sure the URL does not end with a trailing slash “/”.

If you cannot access the WordPress admin area due to some reasons, you can also change the URLs in the WordPress settings by editing the wp-config.php file. Just follow the simple steps below.

  1. Access your website files with an FTP client or a file manager.
  2. Download the wp-config.php file from the server.
  3. Edit the file with a text editor and add the following lines into it. Replace the domain with yours and make sure you are not misusing the “www” prefix.
    Define WordPress Address and Site Address
  4. Save the file and upload it to the server.
  5. Refresh your site to see whether the redirects issue has been gone.

If this does not fix the issue, you might need to contact your hosting provider to ask whether they have made any configuration that leads to the redirects problem.

Cause 3: A Problematic Plugin

When the solutions discussed above do not work for you, then there is probably a trouble with one of the plugins you are using on your WordPress site.

Solution: First of all, ask yourself two questions.

  • Had you added any new plugin right before the issue was noticed?
  • Had you updated any plugin right before the issue arose?

If the answer to one of the questions is “Yes” and you can remember which plugin it is, deactivate the plugin and then recheck your site. The redirects issue should no longer exist.

What if you cannot remember which is the problematic plugin? There is still a solution. You can follow the steps below to find the plugin and fix WordPress too many redirects issue.

  1. Deactivate all plugins on your site.
  2. Access your website files with FTP, find the .htaccess file in the root directory and download it to your local computer.
  3. Delete the .htaccess file from the server, so that your server can regenerate a completely new .htaccess file.
  4. Activate the plugins one by one and check your site every time a plugin is activated until you find the plugin that causes trouble.
  5. Deactivate the plugin or delete it.