Understanding Transform URL Rewrites

I must've missed this change, but seems like Cloudflare added a lot more complexity to their URL Rewrites feature from what I'm used to a few years ago...

I'm trying to get the following URLs (as an example) redirected:

example.com/customer/login
example.com/customer/dashboard
example.com/customer/invoice

into the following:

example.com/xyz/customer/login
example.com/xyz/customer/dashboard
example.com/xyz/customer/invoice

Would I be using a Static Rewrite or Dynamic Rewrite?


===========

I already tried to use a Wildcard pattern with the paramters:

Request URL = https://example.com/*
Path (Target path) = customer/*
Path (Rewrite to) = xyz/customer/${1}

However, that doesn't appear to have any impact looking at origin logs (hosted server over CF Tunnels).

===========


Would greatly appreciate any advice! Thanks!
Was this page helpful?