Create Redirect Rule

Let us understand the step-by-step process of creating rules in the app.

  • Open the GeoIP App and click on the 'Create Rule' - Country Redirect option.

Step-1: General Settings

Add the rule name and countries.

Step-2: Redirect Settings

  • Add a destination URL (on which you want to redirect visitors) and Store Name

  • Configure the Relative redirect with the required option (if needed)

If you want to redirect to the same destination URL/path, activate the "Relative Redirect" setting.

Click here to learn more about Relative Redirect and Language Consideration with Relative Redirect.

Note: When you create a destination rule using the same domain URL, the redirect will occur only once per browser session.

For example, if you have a subfolder for the United States market (/en-us) and configure a rule in the app with the destination URL demo-492.myshopify.com/en-us to redirect US visitors accordingly, the redirect will trigger only once during the current session.

Step-3: Redirect Type

Choose a redirect type from Display-based redirection or Auto-redirection

  • Display Based Redirection: A popup will be displayed to visitors choosing to redirect or stay on the primary store.

  • Auto Redirection: It will redirect users forcefully to the destination store without any choice

If you choose "Display Based Redirection" then you can choose the existing template or create a new template from here.

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