We’ve made changes to our Privacy Policy which is effective from Jan 13. You can take a look to it in here
You are here:
Creating your first redirection is pretty easy. They work as a normal post or page, you can set them to draft, publish, schedule or send it to trash. Each redirection is based on 3 things:
On this section you can combine multiple rules between each other and is the most powerful part. You can create group of rules using AND
or OR
buttons.
For example on the screenshot above the redirection will be performed only if the user is located in the cart page, and is not logged in and his country is US. If those three statements are true the redirection will be performed.
That rule for example could be extended with an OR
group of other rules and say for example redirect if the user is from Canada. So either the user is from Canada OR the three rules above match, the redirection will be performed.
You need to be careful to not overlap rules. For example if you do the following to redirect all user from US except the ones that are in contact page and you do the following:
On this example if the user is from US and he is on the Contact page will be redirect because rule group #2 overwrite rule group #1. Instead you need to add both rules using the AND
button:
It's important to add geo rules as the last rule of each group. That way is a prior rule fails, the geo rule won't run and you will save requests
On this section you find the different options for this redirection:
On the destination url field you can use multiple placeholders in order to create dynamic urls.
Let's assume that the origin url is http://domain.com/category/news/ , the country is United States and State florida. Some examples are:
/{{country_code}}/{{state_code}}/{{zip}}?path={{requested_path}}&url={{requested_uri}}
Will generate http://domain.com/us/fl/33166?path=category/news&url=http://domain.com/category/news/
{{requested_uri}}/{{country_code}}
Will generate http://domain.com/category/news/us