Migrating from Page Rules to Origin/Redirect/Transform

Hi all -

I’m stuck - have reviewed all the help pages I could find, and any resources elsewhere, but still don’t have a path forward. I have been using Page Rules here on Cloudflare to redirect subdomains, to full pathed URLs on a separate server. They have been working exactly as I’d prefer for a long time; here’s what one Page Rule looks like:

calendar.DOMAIN.com/* forwards to: https://calendly.com/USERNAME/meeting

As Page Rules are being deprecated, how would I be able to duplicate the functionality with the remaining Origin/Redirect/Transform rules? Is it still possible?

Thanks for any suggestions.

OK - that was easy. Redirect rules appear to work with target URLs, not just domains. I set up a redirect rule like this:

URI Full - contains - calendar.DOMAIN.com

(the expression below it shows up as (http.request.full_uri contains “calendar.DOMAIN.com”)

and set up the Redirect to just be:

Static https://calendly.com/USERNAME/meeting

I disabled the Page Rules, which broke immediately as expected, then enabled the Redirect Rules, and all worked as expected right away.

1 Like

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