What is the “Too Many Redirects” Error?
This error appears in browsers like Chrome or Firefox as:
- ERR_TOO_MANY_REDIRECTS
- “This page isn’t working right now, redirected you too many times.”
It happens when your website enters an infinite loop of redirects — for example:
http://example.com → https://example.com → http://example.com → ...
Step-by-Step Fix
✅ Step 1: Clear Browser Cookies and Cache
Sometimes old cookies cause redirect loops.
- In Chrome: Settings → Privacy → Clear Cookies.
- Try visiting your site in Incognito Mode to confirm.
✅ Step 2: Check WordPress Site URL Settings
Run this command (replace with your own domain):
wp option get siteurl
wp option get home
Both should use the same scheme (both http://
OR both https://
).
If they differ, set them correctly:
wp option update siteurl "https://yourdomain.com"
wp option update home "https://yourdomain.com"
✅ Step 3: Fix SSL / HTTPS Redirection in Nginx or Apache
Nginx config (example):
server {
listen 80;
server_name example.com www.example.com;
return 301 https://$host$request_uri;
}
Make sure you don’t have multiple rules that keep forcing redirects.
✅ Step 4: Disable Problematic Plugins
Some plugins (especially SSL or Redirection plugins) cause redirect loops.
Disable them temporarily:
wp plugin deactivate really-simple-ssl
wp plugin deactivate redirection
Then test your site again.
✅ Step 5: Clear WordPress & Server Cache
- Clear cache from WordPress plugins (e.g., W3 Total Cache, WP Super Cache).
- If using Cloudflare or another CDN, also clear the external cache.
⚡ Quick Recap
- Error is caused by URL mismatches or endless redirects.
- Fix: Clear cache → Correct WordPress URLs → Check Nginx/Apache rules → Disable conflicting plugins → Purge caches.
✅ After applying these fixes, your WordPress site should load normally without redirect loops.