Rewrite incoming request query

Hello CF community,

I am trying to rewrite a URL with Transform Rules. Unfortunately I am having some trouble implementing my idea. The matching works perfectly fine and the inserting the path works too. But I can’t seem to figure out how to insert the original path into the query. (ex. —> How do I insert the original path (xyz) in to the query rewrite?

Thank You!

If you used a * in the Match, you can try referencing it with a $1 (or $2 if it’s the second *, and so on).

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