Page rule with Cloudflare pages

Hi,

We have a Cloudflare pages App with custom domain setup such that the custom domain is a zone in Cloudflare. We are trying to use Cloudflare page rules on this Custom domain zone. But for some reason, the page rule is not being triggered by the request. However, creating other DNS records and creating page rules with those DNS entries works just fine.
Is there a limitation that page rules do not work on Cloudflare Page Custom domains (probably, due to Worker like behavior of Cloudflare pages)?
Any guidance on how to set these page rules will be helpful.
TIA.

Page Rules should work fine, can you please screenshot what the page rule is?

Zone: Enterprise and Full-DNS setup.
DNS Entries:
dev.example.com → react-ui.pages.dev
sub.dev.example.com → some.other.domain

Page rules:
P1dev.example.com/wp-*
Resolve Over-ride: sub.dev.example.com
P2sub.dev.example.com/
Forwarding URL (Status Code: 301 - Permanent Redirect, Url: dev.example.com)

I had to replace the actual DNS names. Hope you understand. :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.