Find Which Cloudflare Redirect Rule Handles a URL
A Cloudflare redirect and an application redirect can yield similar responses. A request might match an earlier terminating rule and never reach the later rule or the origin. Record the exact host, path and scheme before changing anything.
Build a short expected matrix
For your own proxied domain, choose the exact redirecting URL, a request that must not redirect and a query string whose handling matters. Record the expected status and Location. Do not test by adding broad redirects to production. If a hostname is DNS-only, your request does not pass through that domain's Cloudflare HTTP rules.
Compare requests to rule scope
Inspect Single Redirects and Bulk Redirects and read their configured match expressions and order. Use Cloudflare Trace when available for the applicable property. Compare the first browser response without following redirects, then inspect subsequent hops separately. Check any origin-level redirect in an authorized preview or staging setup.
Rehearse the correction
Match the narrowest intended host and path and consider query preservation explicitly. Verify that the target is outside any rule that would send it back. Retest the matrix and one mobile or alternative browser session if cookies or cached redirects affect what you see. Preserve the prior rule and record a reversal route.
Related Ferkesh Knowledge Base guides
Official references
Last reviewed .
Спасибі за відгук!