Create Redirect Rule

Follow the steps below to create a redirection rule based on a visitor's country IP:

  • Open the GeoIP app

  • Click on Create Rule > Country Redirect

Step 1: General Settings

  • Rule Name: Enter a name for your rule.

  • Countries: Select the countries to which the rule should apply.

Step 2: Redirect Settings

Note: If you are redirecting to a subfolder or the same domain URL, the redirection will occur only once per browser session. Example: If you redirect U.S. visitors to /en-us (Subfolder), redirect will trigger only once per session.

Step 3: Redirect Type

Choose one of the following redirection types:

  • Display-Based Redirection: Shows a popup/banner allowing visitors to choose whether to stay or redirect.

  • Auto Redirection: Automatically redirects visitors to the destination without any prompt.

If you choose "Display Based Redirection", then you can choose the existing template or create a new template f

If using Display-Based Redirection, you can:

  • Choose from existing templates, or

  • Create a new one.

How to create, clone and delete a template?

Step 4: Whitelist

Exclude specific IP addresses (only Public IPv4 supported) or URLs from redirection.

Click here to learn more about rule-based whitelisting

If you want to whitelist for all rules, you need to enable the global whitelist setting and add the required IP addresses or URLs in the global whitelist setting

Go to Settings Global Whitelist Settings

Step 5: Advanced Settings

This setting consists of 3 functionalities:

  • UTM Parameters: You can add the parameters manually in the app for tracking or activate the Enable UTM Forward to forward existing custom parameters (e.g., tracking parameters from ads) to the destination store.

  • Page Specific Redirection: With this feature, you can activate the page-specific redirection to trigger redirection from specific pages in the store.

  • URL Mapping: With this feature, you can redirect users from an old URL to a New URL, if the old URL page is not available in the store.

The rule is now created in the app and is ready for use.

In case of any queries, please feel free to reach out to [email protected]

Last updated