How to Fix ERR_TOO_MANY_REDIRECTS Error

A “Too Many Redirects” error, also known as a redirect loop, occurs when your browser gets stuck in an infinite cycle of redirections. This means that a URL redirects to another URL, which eventually redirects back to the first URL, causing a continuous loop.

Over time, your browser will detect this issue and display the ERR_TOO_MANY_REDIRECTS error message.

ERR_TOO_MANY_REDIRECTS

Causes of Too Many Redirects Error

This issue is usually caused by:

  • Recent website changes or misconfigurations.
  • Incorrect web server redirect settings.
  • Improper SSL certificate settings.
  • Conflicts with third-party services or plugins.

To resolve this issue, follow these troubleshooting steps:

Solutions to Fix ERR_TOO_MANY_REDIRECTS

1. Clear Cookies and Cache

  • Corrupt or outdated cookies may cause a redirect loop.

  • Clear cookies for the affected site:

    • Chrome: Go to Settings → Privacy and Security → Cookies and other site data → See all site data and permissions, then delete the cookies for the website.
    • Firefox: Go to Settings → Privacy & Security → Cookies and Site Data → Manage Data, then remove the specific site’s cookies.
  • Clear the browser cache to load a fresh version of the website.

2. Check SSL Settings

  • If your website uses an SSL certificate, ensure it is properly installed and configured.
  • Avoid mixing http:// and https:// URLs in your website settings.
  • Redirects should be configured correctly in the .htaccess file.

3. Evaluate Third-Party Services and Plugins

  • Third-party services like CDN (Cloudflare, etc.) can sometimes misconfigure redirects.
  • Disable and reconfigure plugins (if using WordPress or another CMS).

4. Reset the .htaccess File

  • If your server uses .htaccess, it may have incorrect rules causing a loop.
  • Rename .htaccess to .htaccess_backup and check if the site loads.
  • If the site works, generate a new .htaccess file by resetting permalinks (for WordPress users).

5. Contact Your Hosting Provider

  • If none of these steps work, reach out to your hosting provider. They can diagnose and fix any server-side redirection issues.

6. Deactivate All WordPress Plugins (If Applicable)

  • If your website runs on WordPress, deactivate all plugins to check if a plugin is causing the redirect loop.
  • Reactivate plugins one by one to identify the problematic one.

7. Check Website URL Settings

  • Ensure the correct URL is set in your CMS or database.
  • For WordPress:
    • Go to Settings → General and confirm that both WordPress Address (URL) and Site Address (URL) are correct.
    • If locked out, update URLs via wp-config.php:
    define('WP_HOME','https://yourdomain.com');
    define('WP_SITEURL','https://yourdomain.com');
    

8. Verify Domain Settings

  • Ensure your domain settings (DNS records, redirects) are properly configured.

Final Note

Before making any major changes, always back up your website to prevent data loss. If you're unsure how to proceed, AquaHost’s expert support team is available 24/7 to assist you.