Redirect dynamic destinations
This guide explains how you can do more advance redirects
Ekke Uustalu
Last Update há um ano
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.
Example of redirects
Source: source.com
Default destination: destination.com
Destination 1:
URL: destination.us
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.