here, the purpose is to redirect a hit on https://url.com/my_old_path/foo/bar/baz to https://my.url.com/foo/bar/baz
Thank you! I’ve been looking for a solution on how to alter the path on a redirect.
I adapted your solution to preserve the query parms by changing “path” to “capture.req.uri” as follows: