Cloudflare Page Rules are deprecated, and Cloudflare says it will convert your existing rules into its newer Rules products on its own. That conversion leaves five settings behind, and a Page Rule rebuilt as a Cache Rule can start caching pages it never cached, HTML included. To work out what Cloudflare Page Rules deprecated means for your zones, we went through Cloudflare’s migration guide setting by setting. This article covers the rules at risk, what changes when they move, and how to migrate them before Cloudflare does. Lelops Guard keeps a version of every cache rule change Ask Lelops makes, so a migrated rule that caches the wrong pages is undone with one rollback.
Are Cloudflare Page Rules Deprecated?
Yes, and they still run: Cloudflare’s Page Rules documentation describes the feature as “Page Rules (deprecated)” and still lists it on every plan. The migration guide says that “Cloudflare will handle the migration of your existing Page Rules automatically”, with advance notification before any changes are made.
Don’t plan around a date: a change published on December 16, 2024 replaced “during 2025” with “planned for late 2025 or beyond”, and the page, last updated on October 30, 2026, gives no later date.
Cloudflare Page Rules Deprecated Settings: The Five That Won’t Migrate
Cloudflare’s guide lists five settings that will not be migrated. For Disable Performance and Disable Security it adds: “Any Page Rules with this setting will not be migrated.” Taken as written, a Page Rule combining Disable Security with a cache setting is left out entirely.
- Disable Security: it turned off Email Obfuscation, Scrape Shield, URL (Zone) Lockdown and the previous versions of Rate Limiting and WAF managed rules. Replace it with a configuration rule for Email Obfuscation or Hotlink Protection, and a WAF exception that skips managed rules for those requests. The previous versions can’t be turned off with modern rules: Cloudflare recommends upgrading them.
- Disable Performance: it turned off Polish and Rocket Loader, which a configuration rule can set to Off.
- Response Buffering: Cloudflare still lists it as a Page Rules setting on Enterprise, and the guide names no replacement.
- Disable Railgun and Web Application Firewall: they controlled Railgun, which “is no longer available”, and the previous WAF managed rules. Remove both once you have upgraded from the previous WAF.
What Changes When a Page Rule Becomes a Cache Rule

Most of the work lands in Cache Rules, where 13 of the 33 settings in Cloudflare’s correspondence table move, and three documented differences change what a converted rule does:
- Eligible for cache turns on Cache Everything. With Page Rules you chose Cache Everything yourself; in a Cache Rule, selecting Eligible for cache turns it on by default, which makes all file types eligible for cache, HTML included. That is how a Cache Everything rule ends up serving one visitor’s page to another.
- Your rule order inverts. Cloudflare recommends ordering Page Rules from most specific to least specific, because only the highest priority match takes effect. Cache Rules all apply and the last match wins a conflict, so a broad rule copied to the bottom overrides the specific ones above it.
- Modern rules override Page Rules. While both run, a new rule wins wherever it matches, so scope each cache rule to its Page Rule’s URLs.
How to Migrate Your Page Rules Step by Step

For each setting, Cloudflare’s guide says to create the replacement, turn off the Page Rule and validate, then delete it. Across a zone, we recommend this order:
- List every Page Rule with its URL, settings and position, disabled rules included.
- Replace the five settings that won’t be migrated.
- Create two baseline cache rules first, in this order: one that bypasses cache for all incoming requests, then one that makes the default cacheable file extensions eligible for cache. This pair, from Cloudflare’s docs, keeps the Page Rules caching behavior; migrated rules go after it, broad rules first.
- Rebuild each Page Rule on the same URLs: caching settings in Cache Rules, Forwarding URL and Always Use HTTPS in Single Redirects, Security Level, SSL and similar switches in Configuration Rules. In a redirect’s Wildcard pattern view,
example.com/*/downloads/*.txtbecomeshttp*://example.com/*/downloads/*.txt*, because the new rules see the scheme and the query string. - Turn off the Page Rule and test. A personalized page should return
CF-Cache-Status: DYNAMIC, which Cloudflare defines as not eligible for cache. Rules simulator shows what Cloudflare would apply to a request you define. - Delete the Page Rule once your tests pass: a turned-off Page Rule still counts against the zone’s limit.
How to Migrate Cloudflare Page Rules Safely with Lelops

The risk in this migration is a converted rule that caches the wrong pages or overrides a rule you meant to keep. Lelops Guard checks your Cloudflare zones against a security baseline and keeps a version of every change made through Lelops, with a rollback. Ask Lelops makes those changes in plain language, and Lelops Sentry watches the traffic that follows. The steps below run the same migration through Lelops, with a version saved at each change:
- Connect Cloudflare to Lelops with a scoped API token, and choose the zones Lelops can access.
- Open Guard > Compliance > Rulesets. The Lelops Rules include PageRules, “Convert existing PageRules”, at Medium level, so the migration is part of the baseline your team reviews. Lelops doesn’t read Page Rules: take the list from Cloudflare, as in step 1 above.
- Ask what replaces a Page Rule. Paste its URL and settings into Ask Lelops: it answers from Cloudflare’s documentation, with your zone’s current configuration as context.
- Ask Lelops for the cache rules: first the two baseline rules (“On example.com, create a cache rule that bypasses cache for all incoming requests, then a second one that makes the default cacheable file extensions eligible for cache”), then each migrated rule on its Page Rule’s URLs (“On example.com, create a cache rule for example.com/assets/* with an Edge Cache TTL of one day”). Ask Lelops creates them, or challenges the request if it is risky, and saves a version for each change.
- Turn off the Page Rule in Cloudflare and test, starting with the
CF-Cache-Statusheader of a personalized page. Lelops Sentry alerts on unusual changes in key metrics, the zone’s cache hit rate among them, which is where a rule that caches more or less than before shows up. - Roll back if the result is wrong. In Guard > Versioning, expand the version saved before the change and select Rollback, then Restore and deploy: the zone’s configuration returns to that version, and the restore is saved as a new version. Page Rules are not part of a version, so turn the old Page Rule back on in Cloudflare.
- Delete the Page Rule in Cloudflare once the new rule has run without a rollback, and move to the next one.
Lelops Guard saves a version of every change Ask Lelops makes to your cache rules, so a migrated rule that misbehaves is one rollback away: lelops.ai/product/guard.
FAQ
Will Cloudflare Page Rules stop working?
Not yet. Cloudflare's documentation marks Page Rules as deprecated but still lists them on every plan, and says existing rules will be migrated automatically, with notice before any change. The migration guide gives no firm date: it says the migration is planned for late 2025 or beyond.
Does Cloudflare migrate Page Rules automatically?
Yes, except for five settings. In one sentence: Cloudflare converts every Page Rules setting except Disable Performance, Disable Railgun, Disable Security, Response Buffering and Web Application Firewall, which teams must replace or remove themselves. For Disable Performance and Disable Security, Cloudflare's guide says any Page Rule using the setting will not be migrated.
What is the difference between Cache Rules and Page Rules?
Page Rules are first match wins: only the first rule matching a URL applies. Cache Rules are last match wins: every matching rule applies, the last one settles conflicts, and Cache Rules override Page Rules on the same path. Selecting Eligible for cache in a Cache Rule turns on Cache Everything, which Page Rules required as a separate choice.
Should redirects use Redirect Rules or Page Rules?
Redirect Rules. Cloudflare's migration guide maps both Forwarding URL and Always Use HTTPS to Single Redirects, which accept wildcard patterns close to the ones teams wrote in Page Rules.
What replaces the Disable Security Page Rule setting?
No single setting replaces it. Teams rebuild only the parts they need: a configuration rule that turns off Email Obfuscation or Hotlink Protection, and a WAF exception that skips managed rules for the requests concerned. The previous versions of WAF managed rules and Rate Limiting cannot be turned off with modern rules, so Cloudflare recommends upgrading them.
Christophe Pronier


