Cloudflare Too Many Redirects Checklist for WordPress

halfbrain_logo512adminJune 12, 2026
0 lượt xem

Cloudflare Too Many Redirects Checklist for WordPress

Too many redirects usually means the browser is trapped in a redirect loop. With WordPress and Cloudflare, this often happens when Cloudflare SSL mode, WordPress site URL, Nginx redirects and HTTPS settings conflict with each other.

Common causes

  • Cloudflare SSL mode is set incorrectly.
  • WordPress Address and Site Address use the wrong scheme.
  • Nginx redirects HTTP to HTTPS while Cloudflare also redirects.
  • Really Simple SSL or another plugin conflicts with server redirects.
  • www and non-www redirects conflict.

Checklist

  1. Check Cloudflare SSL/TLS mode.
  2. Prefer Full or Full Strict if origin SSL is installed.
  3. Check WordPress Address and Site Address.
  4. Check Nginx redirect rules.
  5. Check www to non-www or non-www to www redirects.
  6. Disable duplicate SSL redirect plugin if server handles HTTPS.
  7. Clear Cloudflare cache.
  8. Clear WordPress cache.
  9. Test in incognito browser.
  10. Check redirect chain with a redirect checker if needed.

Final check

There should be only one clean redirect path. For example, HTTP non-www should redirect to HTTPS non-www once, not loop between Cloudflare, Nginx and WordPress.

Estimated Time

20–45 minutes

Use Case

Use this checklist when a WordPress site behind Cloudflare shows too many redirects or redirect loop errors.


Common Mistakes

  • Using Flexible SSL with HTTPS redirect on origin.
  • Mixing plugin redirects and Nginx redirects.
  • Changing www and HTTPS at the same time.
  • Forgetting to clear cache.
  • Not checking WordPress Site Address.

Related Commands

sudo nginx -t
sudo systemctl reload nginx
curl -I http://example.com
curl -I https://example.com
See also  502 Bad Gateway Checklist for Nginx PHP-FPM

Share:

Disclaimer: The guides, checklists, commands, and examples on HalfBrain.net are provided for educational and operational reference only. Server environments, hosting providers, software versions, security settings, and WordPress configurations can vary, so you should always review commands before running them on your own system. We do our best to keep the content accurate and useful, but we cannot guarantee that every command, configuration, or recommendation will fit every environment. Always back up your website, database, and server configuration before making changes. HalfBrain.net is not responsible for data loss, downtime, security incidents, misconfiguration, or other issues that may result from applying the information on this website. Use the material at your own discretion.

Leave a Reply

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