Launch your next website with Reliable Web Hosting
Join thousands of businesses that trust our hosting services — everything you need to build a fast, secure, and reliable website that delivers every time.
See our plansThis guide helps you diagnose and fix issues on Apache, Nginx, Cloudflare, or CMS platforms like WordPress
The ERR_TOO_MANY_REDIRECTS error occurs when a website keeps redirecting between URLs endlessly, creating a loop that the browser can’t escape. It's a common issue for websites using WordPress, CMS platforms, reverse proxies, or SSL configurations — especially with Apache or Nginx servers.
This guide covers everything you need to diagnose and fix the issue — whether you're using Apache or Nginx, Cloudflare, or a CMS like WordPress.
This error means your site is stuck in a redirection loop. The browser tried too many times to reach the final destination but never succeeded because it kept being redirected in a cycle.
Browser message example (Chrome):
This page isn’t working. example.com redirected you too many times.
ERR_TOO_MANY_REDIRECTS
.htaccess (Apache) or nginx.confSometimes the issue is client-side.
Use online tools to inspect redirect behavior:
You’ll be able to detect loops like:
https://example.com → http://www.example.com → https://example.com
(infinite)
Check your .htaccess file (usually in the web root). Look for multiple or conflicting redirect rules.
Force HTTPS in Apache:
Force non-www (apache):
Force www (apache):
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
Locate your Nginx config, often found at:
/etc/nginx/nginx.conf
/etc/nginx/sites-enabled/default
or custom paths
Force HTTPS in Nginx:
Force www (nginx):
Force non-www (nginx):
⚠️ Important: Only use one redirect rule. Do not redirect both www → non-www and non-www → www.
After changes:
Login to /wp-admin, go to:
Settings > General
Ensure the URLs are consistent:
WordPress Address (URL)
Site Address (URL)
Both should be either:
https://example.com
or https://www.example.com
Edit wp-config.php:
Plugins — especially for SEO, caching, redirection, or security — can cause redirect loops.
If you can’t access the admin dashboard:
wp-content/plugins/ directory to plugins_backupRe-enable plugins one-by-one to find the culprit.
If you’re using Cloudflare or another CDN, the issue might be in SSL mode.
Full (recommended)Flexible (causes loops if origin has SSL)If you’ve added redirects via:
These might conflict with your CMS or server config. Remove or adjust as needed.
.htaccess in WordPress:Always back up files before changes:
Join thousands of businesses that trust our hosting services — everything you need to build a fast, secure, and reliable website that delivers every time.
See our plansThis ultimate guide provides knowledge to make informed decisions, helping your website operate efficiently, securely, and smoothly
A major threat businesses face is typosquatting—deceptive domains tricking users, stealing trust, and damaging brand reputations
Cybercrime is increasing, with attackers often exploiting weakly protected accounts as the easiest entry point to systems
Powered by WHMCompleteSolution