Page Rule Not working as expected

I am following the Page Rules tutorial and trying to use a wildcard and grouping to forward an old subdomain to our primary domain. The rule is:

old.example.com/* forwarding to https://example.com/$1

This is not working as expected as it only forwards to the root domain and does not include the wildcard grouping. My DNS is setup with a CNAME for old subdomain pointing to example.com

Is this all setup properly?

That looks right. As long as old.example.com is on your Cloudflare account that you’re setting Page Rules for. If you want a more detailed response, post a URL you want forwarded.

I am forwarding get.360payments.com/maxxtraxx/ and expecting it to forward to https://360payments.com/maxxtraxx using the rule:

get.360payments.com/* forwarding to https://360payments.com/$1

Just tested today and it is now working. DNSmust have needed some time to propagate

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.