To create the redirect rules, go to YITH Plugins -> GeoIP Language Redirect.
To Configure the new rule, click on New rule button.
Below, the complete list of parameters to be configured in the rule:
- Country: select for which country you want to apply the redirect. By selecting Italy, the redirect applies to all of the users visiting the site from Italy.
- Country Excluded: by enabling the checkbox, the redirect is valid for all the countries except for the one specified.
- Origin: redirect URL origin
- Destination: Address to redirect the users who try to connect to the origin URL
- HTTP Status Code: HTTP Status Code to assign to the redirect
- First Time Redirect: when enabling this option, the redirect applies only the first time user tries to visit the origin URL.
A cookie is set on the browser used by the user and the redirect doesn’t apply in the case of a new access to the page until the cookie expires.