Page rule for forwarding URL

Hey, i want forward domain with first and rest params like

https://sub.domain.com/magic/dir/manifest.json
to
https://example/some/path/${magic}/something/${dir/manifest.json}

Is it possible?

i tried
repo.harmoniya.net/*/*
and
https://example/some/path/$1/something/$2
but it forwards to
https://example.com/some/path/${magic/dir}/something/${manifest.json}
Was this page helpful?