Infinite redirect loop error.
Photo by MARIOLA GROBELSKA on Unsplash

How to Fix “ERR_TOO_MANY_REDIRECTS” in WordPress

Imagine asking for directions to a store, and Person A sends you to Person B, who sends you back to Person A. You never arrive. This is exactly what is happening to your browser.

ERR_TOO_MANY_REDIRECTS means Page A is redirecting to Page B, and Page B is redirecting back to Page A. The browser detects the loop and stops loading to save your computer.

Infinite redirect loop error
Photo by MARIOLA GROBELSKA on Unsplash

Solution 1: Check URL Settings

The most common cause is a mismatch between “http” and “https” in your settings.

  1. Log in to your Dashboard (if possible) or check wp-config.php.
  2. Ensure your WordPress Address and Site Address match exactly.
  3. If you have an SSL certificate, both must start with https://.
  4. Hard code fix: Add this to wp-config.php if you are locked out:
define('WP_HOME','https://yoursite.com');
define('WP_SITEURL','https://yoursite.com');

Solution 2: Delete Browser Cookies

Sometimes the loop is just stuck in your own browser cache.

  1. Click the “lock” icon in your browser address bar.
  2. Select Cookies.
  3. Click Remove for your website.
  4. Refresh the page.

Solution 3: Check SSL Plugin Settings

If you use a plugin like “Really Simple SSL,” it might be fighting with your server’s native redirect rules. Deactivate it via FTP to test.

Conclusion

Redirect loops are usually a simple case of mixed instructions. Ensure your HTTPs settings are consistent, and the loop will break.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

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