How to match page rule for api and website

This may be stupid to ask, but I have still have ask.

I have one page rule, in which I want to cover 2 URLs.

e.g.
https://example.com/download/unique hash
https://example.com/api/download/unique hash

unique hash will be dynamic.

I had this rule until now.
https://example.com/download/*

Now this api endpoint has added, and I want to cover that too, in same page rule.

Can anyone guide me where to put another asterisk ?

Thanks

Either a second page rule or /*download/, though the latter would apply to everything, also /whatever/download/ or /hello/world/download/.

Thanks sandro,

That will work I guess.
I’m not worried about /hello/world/download, as there are very specific urls and very less. Means less chances of conflicts.

Thanks again!

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