Cloudflare Too Many Redirects Checklist for WordPress

halfbrain_logo512adminJune 12, 2026
165 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.

Checklist Type Troubleshooting
Level Beginner
Risk Level Medium Risk
Estimated Time 20–45 minutes

When to Use This Checklist

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

Required Tools

Cloudflare access, WordPress admin, Nginx access, SSL certificate, cache plugin access, browser incognito mode

Before You Start

Before changing redirects, write down the desired final URL format such as https non-www or https www.

Verification Steps

  1. Open HTTP version.
  2. Open HTTPS version.
  3. Test www and non-www.
  4. Confirm final URL is consistent.
  5. Confirm no redirect loop appears in incognito mode.

Rollback Plan

If the site becomes inaccessible after a redirect change, temporarily disable the latest redirect rule in Nginx or Cloudflare and return to the last known working configuration.

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

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 *