Cloudflare Page Rules Debt: How Old Rules Break Business Websites

Illustrated infographic summarizing: Cloudflare Page Rules Debt: How Quiet Configuration Drift Breaks Business Websites

By Greg Nowak. Updated 24 October 2026.

A website can stay online while its most valuable journeys stop working properly. A campaign link takes visitors through several redirects. A returning customer sees stale content. A preview behaves differently depending on whether someone is logged in.

Cloudflare Page Rules debt builds up when configuration survives the reason it was created. After several launches and agency handovers, old exceptions overlap with new rules, server settings, and CMS modules. For business owners and operations teams, the warning sign is simple: nobody can explain which layer controls an important URL, or confidently predict what a change will do.

Why moving away from Page Rules needs care

Cloudflare's Page Rules migration guide describes a different execution model for modern Rules products. Legacy Page Rules apply the first matching rule in priority order. Modern products run in defined phases, and matching Cache Rules can combine, with later conflicting settings taking precedence. Modern Rules also override overlapping Page Rules settings.

This makes a migration more than copying patterns into a new dashboard. One Page Rule may need separate redirect, cache, and configuration rules. Matching against the full URI also requires attention to the protocol and query string. Test HTTP, HTTPS, and campaign parameters explicitly.

The business risk sits in those small differences. A replacement rule can look equivalent while matching more traffic, missing an old hostname, or changing how a form page is cached.

Start with the journeys that matter

Prioritise anything that affects enquiries, transactions, access, or discoverability. A useful first audit covers the paths below. Add your highest-value landing pages, legacy URLs with backlinks, and every live hostname.

Journey or URL Expected behaviour What to check
Old campaign link Direct redirect to a relevant live page Every status and Location header; required parameters
Public service page Correct content and agreed caching Canonical URL, Cache-Control, Age, CF-Cache-Status
Enquiry form Fresh form and successful submission New and returning sessions; confirmation and delivery
Account, cart, admin, preview No personal or restricted content in shared cache Logged-out and separate authenticated sessions
robots.txt and sitemap Correct content on the intended hostname Status, redirects, content type, freshness
Record the expected result before changing rules. A rule inventory alone cannot prove that a customer journey works.

Check cache exceptions before chasing speed

Cloudflare does not cache HTML or JSON by default. Its standard behaviour also avoids caching responses containing Set-Cookie or cache directives such as private and no-store. Existing overrides still need checking: defaults do not describe every configured site.

In Cache Rules, Eligible for cache enables Cache Everything behaviour, but does not guarantee that every response will be stored. The Edge TTL settings determine whether origin cache instructions are respected or overridden. A bypass rule may also produce DYNAMIC rather than BYPASS in the response header.

Review broad caching rules against login cookies, personalised content, previews, carts, and checkout. Define which requests must bypass shared caching, then verify that later rules do not undo that decision. A successful anonymous page load is insufficient evidence for an authenticated journey.

Inspect real responses, then explain the matches

For each test URL, write down its intended status, destination, cache treatment, and responsible layer. List the places that could alter it: Cloudflare rules, Workers or Snippets, web-server rewrites, application code, and WordPress or Drupal modules. Confirm that the hostname is actually proxied through Cloudflare.

These commands expose the initial response, the full redirect chain, and a crawler-facing file:

curl -sS -D - -o /dev/null https://www.example.com/old-url
curl -sS -L -D - -o /dev/null https://www.example.com/old-url
curl -sS -D - -o /dev/null https://www.example.com/robots.txt

They use GET. Relying only on curl -I sends HEAD, which may follow a different application path. For an authenticated check, use a disposable test account and a locally protected cookie file:

curl -sS -D - -o /dev/null \
  -b /secure/path/test-cookies.txt \
  https://www.example.com/account

Redact session cookies before sharing captured headers. Repeat requests to check consistency, inspect the returned content where relevant, and test form submission in a controlled workflow. Headers alone cannot confirm that an enquiry reached its destination.

Use Cloudflare Trace to investigate unexpected matches and evaluation order. Trace simulates a request; it is not a record of what a visitor experienced. Compare its explanation with live responses and available production logs. Trace can even show hypothetical configuration for an unproxied hostname, so it does not prove traffic passes through Cloudflare.

Migrate one responsibility at a time

Save the current configuration and record how to restore it. Choose one responsibility, such as legacy campaign redirects, and assign it an owner. Simple hostname redirects may belong at the edge; editorial redirects may be easier to maintain in the CMS.

Create the replacement, test the affected journeys, and remove the redundant behaviour once verified. Include a cache purge plan where stored responses could hide the change. Keep a rollback note with the previous settings and the person responsible for restoring them.

For redirects, use 301 or 308 for permanent moves and 302 or 307 for temporary ones. Google uses permanent redirects as a canonicalisation signal. Send visitors to a relevant destination and reduce avoidable chains.

Leave a handover the next team can use

A useful handover explains which layer owns each decision, which paths must bypass shared caching, and why exceptions exist. Include the test URLs, expected results, change owner, and rollback instructions. Reuse those checks after launches and agency transitions.

If inherited Cloudflare rules are making your next release uncertain, Greg can help map the request paths, prioritise fixes, and coordinate a maintainable handover. See how Greg supports digital projects and agency teams.

Related on GrN.dk

Need help with this kind of work?

Discuss your Cloudflare rules and website handover with Greg Get in touch with Greg.

Sources

Latest articles

Check whether your contact form rejects missing or invalid Turnstile tokens, handles failed checks for genuine users and delivers accepted enquiries to your team.

Compare Bing citations, identifiable AI visits and verified enquiries to see which pages deserve attention before you increase your AI search marketing budget.

Teamtailor is phasing out Riminder on 21 November 2026. Check your parser settings, contact fields and integrations, and make sure you have a process for deleting applicant data.

WordPress jobs running late? Learn how to separate scheduling problems, task errors and a growing backlog, then choose the right scheduler or runner.

Before changing an AI workflow, check that it still does the job. Use realistic examples, clear release criteria and a comparison with the version running today.

Sending an invoice does not mean it has arrived. Understand delivery statuses, the system requirements coming in 2027, and how focused AI support can help finance teams handle errors and follow-up.

Before scaling AI content, check the pages you already have. Verify claims, resolve overlapping coverage, and give WordPress reviewers control over publication.

Build a refund approval workflow in n8n and Stripe that shows reviewers the exact action, expires old approvals and tracks refunds through to completion.

A timeout can hide a successful job creation. Use stable operation IDs, destination API rules and a clear recovery process to prevent duplicate work.

Does your ChatGPT subscription cover website translation? Understand API credits, access and a WordPress workflow that turns approved Danish content into translation drafts.