How to Fix "Too Many Redirects" Error in cPanel?


The "Too Many Redirects" error (also shown as ERR_TOO_MANY_REDIRECTS) occurs when your browser gets caught in an infinite redirect loop. Your server keeps redirecting to itself or between two URLs endlessly. Here's how to diagnose and fix it.

Common Causes

  • Conflicting HTTPS redirect rules in .htaccess
  • WordPress site URL settings don't match the actual URL
  • Cloudflare SSL settings conflict with server SSL
  • Multiple redirect rules pointing to each other
  • cPanel's Force HTTPS enabled at the same time as .htaccess redirect

Fix 1: Check .htaccess for Conflicting Rules

  1. Go to cPanel → File Manager → public_html.
  2. Open .htaccess.
  3. Comment out redirect rules temporarily by adding # at the start of each RewriteRule line.
  4. Save and test your site.

Fix 2: WordPress URL Settings

  1. Go to cPanel → phpMyAdmin.
  2. Open your WordPress database → wp_options table.
  3. Check that siteurl and home both start with https:// and match your actual URL.
  4. Fix any mismatches by clicking Edit on those rows.

Fix 3: Cloudflare SSL Setting

If you use Cloudflare, the SSL mode must match your server's SSL:

  • If your server has a valid SSL certificate → set Cloudflare SSL to Full (Strict).
  • If your server has no SSL → set Cloudflare SSL to Flexible (but install SSL on server ASAP).
  • Never use Flexible SSL if you have HTTPS redirects on the server — this creates the redirect loop.

Still stuck? Open a support ticket at create a request with your domain name and we'll help diagnose the redirect loop.

Cette réponse était-elle pertinente? 0 Utilisateurs l'ont trouvée utile (0 Votes)