Introduction to the feature
We have now added the possibility to redirect traffic to different destinations based on the incoming request. Below the image is an example redirect where the users get redirected to one place if their location is in the US and to another if they happen to have a device with the phrase "iPhone" in the user-agent header.
The variables that the conditional redirects support are listed below:
If you use a variable that is not in this list, you will be given feedback when creating or updating the redirects.
Default destination: destination.com
Expression: country == 'US'
When traffic from the US comes in, the visitor is redirected to destination.us. All other traffic is redirected to destination.com.