Redirect URL with dynamic URI

I want to redirect the URL along with the URI path, so from: https://www.domain1.com/this-path to https://www.domain2.com/this-path and this should happen for all future URI paths.

Is this possible, and if so, what would be the best approach? I already played around with the redirect rules but I couldn’t find a way to do it for my situation.

Thanks.

In the redirect rule set the type to ‘dynamic’ and use something like this in the value:
concat("https://www.domain2.com",http.request.uri.path)

1 Like

That’s amazing. Thanks for the quick reply.

1 Like

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