SpiceGems Knowledge Base
All AppsContact Us
GeoIP Country Redirect
GeoIP Country Redirect
  • 📖Overview
  • Getting Started
  • Country Redirect
    • Create Redirect Rule
    • Create Exception-Based Redirect Rule
    • Bypass the Redirection
    • Redirect Templates (Popup/Banner)
      • Customize Redirect Templates
    • Dynamic Flags
    • FAQs
      • How to redirect visitor forcefully?
      • How to add Flags with the countries in the switcher?
      • What is Same-domain?
      • Can the app perform instant redirection before the page load?
      • How to setup different redirection type on different rules
      • How to Create Popups in Multiple Languages
      • Can the app remember the user's selection when displaying a pop-up/banner
      • How can i test the redirect rules
      • Can I prevent the redirection for specific redirect rule
      • How to forward existing parameters while redirection
  • Country Blocker
    • Create Blocker Rule
    • Create an Exception Based Rule
    • Customize Blocker Template
    • Country Blocker Whitelist Settings
    • Bypass Blocker Rules
    • FAQs
      • How to block certain countries to access my store?
      • How to block certain visitors by IPs
      • How to Bypass from Blocker Rules
      • Can I set a custom message for blocked visitors?
      • Can I allow some users from the block location to access the store?
      • My analytics are showing discrepancies.
  • General Settings
    • Relative Redirect
    • Language Consideration with Relative Redirect
    • Whitelist (Rule based)
    • UTM Parameters
    • Page-Specific Redirection
    • URL Mapping
    • Alpha-2 country codes
  • GeoMarket Redirect
    • GeoLocation Popup
    • Geolocation Popup Editor
    • Auto-Redirect
  • GeoIP Switcher
    • Shopify Market Switcher
    • Manual Switcher
    • Preserve Path
    • Language Consideration
    • Customize switcher template
  • GDPR Info Bar
  • Global Whitelist Settings
  • General FAQs
    • How to disable the app?
    • Can I use the app on multiple stores in the same browser?
    • Foundation of a Redirect Rule
    • Understanding the App functionality
    • Login Issues
    • Disable Prevent Cross-Site Tracking in Safari on Mac
  • App Pricing
Powered by GitBook
On this page
  • Global Whitelisting (Rule-based)
  • Rule-based Whitelisting
  • 1. Whitelist IP Setting
  • 2. Whitelist URL Setting
  • Use Case of Exact & Contains types:
  • 1. Exact
  • 2. Contain
  1. General Settings

Whitelist (Rule based)

PreviousLanguage Consideration with Relative RedirectNextUTM Parameters

Last updated 24 days ago

There are two types of Whitelist options available in the app.

  1. Rule-Based Whitelisting: configured in specific rules.

  2. Global Whitelisting: works for all rules at once, including rule-based configurations.

Global Whitelisting (Rule-based)

The Consider Global setting can be used to apply the configuration of the Global Whitelist setting to the specific rule.

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

Rule-based Whitelisting

Rule-based whitelisting prevents redirection for certain users for a particular rule.

It has two options to prevent redirection:

  1. Whitelist IP Setting

  2. Whitelist URL Setting

Please note that in a rule, only one option, either IP or URL, can be utilised at a time. Both functionalities cannot be used simultaneously.

1. Whitelist IP Setting

This setting will whitelist (prevent redirection) the complete store for a specific IP address.

  • Click on the Country Redirect option → click on Edit to make changes to the redirection rule.

  • Click on the Whitelist option → Enter the IP address (Public IPv4 only) → click on the save button.

Note the following points:

The app only supports IPv4 addresses.

The IP address should be added in a comma-separated format with no spaces.

2. Whitelist URL Setting

This setting will prevent redirection on a specific URL added in the whitelist URL section.

  • Click on + Add new Whitelist Rule

  • Add Whitelist URL details → click on the Add button.

Whitelist URL format

  • Add URL Path:

    • Enter the specific URL path where you want to stop redirection.

    • Example: /product/toy-stopper (This applies only to this exact page).

  • Choose a Matching Type:

    • Exact: Redirection will be blocked only if the URL exactly matches the entered path.

    • Contains: Redirection will be blocked if the URL includes the specified path anywhere within it.

Use Case of Exact & Contains types:

1. Exact

With the Exact type, you can whitelist (prevent redirection) a complete URL in your primary store.

For example, you want to prevent redirection on the 'Contact-us', 'about-us' or 'blogs'. In that case, you need to add the URL path with the Exact type in the app.

2. Contain

With the Contain type, you can prevent redirection using a keyword in the URL. If the URL contains that specific keyword, the redirection will not be triggered on that URL.

For example, you want to exclude URL from redirection which contain the keyword “products“. In this case, you need to add the “products” keyword in the app and select the type “Contain“ to prevent redirection.