For the complete documentation index, see llms.txt. This page is also available as Markdown.

Whitelist - Blocker

There are two types of Whitelist options available for the Blocker Rule in the app:

  1. Rule-Based Whitelisting: Configured within specific rules.

  2. Global Whitelisting: Applies to all rules at once if the Consider Global setting is enabled in the rules.

Rule-based Whitelisting

Rule-based whitelisting prevents blocking for certain users within a specific rule. It offers two options to prevent blocking:

A. Include Global Whitelisting

The Include Global Whitelist setting applies the Global Whitelist configuration to the selected blocker rule.

To use Global Whitelisting configuration (added IP address or URL) with rule-based configurations, you can enable the Include Global Whitelisting option in a required rule.


B. Whitelist IP Setting

This option allows you to disable blocking completely for specific IP addresses.

Steps to configure:

  1. Go to Country Blocker → click Edit on the rule you want to update.

  2. Go to the Whitelist option.

  3. Enter the IP address (only Public IPv4 is supported).

  4. Click Save.

Note the following points:

  • Only IPv4 addresses are supported.

  • IP addresses must be entered in a comma-separated format with no spaces.


C. Whitelist URL Setting

This option prevents blocking for added URLs on your store.

Steps to configure:

  1. Click + Add URL.

  2. Add the URL details.

  3. Select the Type (Exact/Contains)

  4. Click on save.

URL Format:

  1. Full URL:

  • Enter the complete URL (domain required).

  • Example: https://spice-country-redirect-demo.myshopify.com/pages/contact

  • Used in Type: Exact

  • Result: The blocker will be disabled from this specific page.

  1. URL Path:

  • Enter only the path of the URL (not the full domain required).

  • Example: /products

  • Used in Type: Contains

  • Result: The blocker will be disabled from all the pages which contain the path (/products).

Use cases of URL Whitelisting

1. Exact

With the Exact type, you can disable the blocker rule from specific URLs in your primary store.

For example, to prevent blocker rule from the 'Contact-us' page. In that case, you need to add the full URL (https://spice-country-redirect-demo.myshopify.com/pages/contact) with the Exact type in the app.

2. Contains

With the Contains type, you can prevent blocking using a keyword in the URL. If the URL contains that specific keyword, the URL can be accessed.

For example, you want to exclude URLs from blocking that contain the keyword “products“. In this case, you need to add the “/products” keyword in the app and select the type “Contains“ to prevent blocking.

Last updated