> For the complete documentation index, see [llms.txt](https://help.spicegems.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.spicegems.com/geoip-country-redirect/settings/global-whitelist-settings.md).

# Global Whitelist Settings

Whitelisting allows visitors to access your online store or specific URLs without being affected by redirection or block rules. Similar to rule-based whitelists and blocker whitelists, the app provides two types of whitelisting options:

1. [**Whitelist IPs Settings**](#id-1.-whitelist-ips)
2. [**Whitelist URLs Settings**](#id-2.-whitelist-urls)

Below is a detailed explanation of both features:

### **1. Whitelist IPs**&#x20;

**Navigation:**\
**Settings → Global Whitelist Settings → Whitelist IPs**

Enter multiple IPv4 addresses separated by commas, then click **Save**.

Once added, the app will prevent redirection rules for the specified IP addresses, allowing those users to access the store normally without being redirected.

**Format:**\
Enter comma-separated IP addresses\
**Example:** `122.22.33.44,49.36.236.204`&#x20;

<figure><img src="https://2119731643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lo5KC5Ta6Fs1-alV4Av%2Fuploads%2FMoV9STO0vbUwYoAURMjS%2FGlobal-whitelist_IP.png?alt=media&amp;token=51745e13-9930-4bba-be26-9e3d81bf59fa" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note the following points:**&#x20;

The app only supports Public IPv4 addresses.&#x20;

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

### **2. Whitelist URLs**&#x20;

**Navigation:**\
**Settings → Global Whitelist Settings → Whitelist URLs → Add New Whitelist Rule**

<figure><img src="https://2119731643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lo5KC5Ta6Fs1-alV4Av%2Fuploads%2FaVTuIunylE34gayr2flM%2FGlobal-whitelist_URL1.png?alt=media&amp;token=737a14d2-812f-4394-a63e-939684216f3e" alt=""><figcaption></figcaption></figure>

You can configure whitelist rules in two ways:

* **Exact**
* **Contains**

<figure><img src="https://2119731643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lo5KC5Ta6Fs1-alV4Av%2Fuploads%2F8Zw3y3i80iO3lGvkACuB%2FGlobal-whitelist_URL2.png?alt=media&amp;token=a77b03e2-f8c5-4401-967c-992a80fec144" alt=""><figcaption></figcaption></figure>

{% hint style="info" %} <mark style="color:$primary;">**URL Format:**</mark>&#x20;

1. **Full URL:**&#x20;

* Enter the complete URL (domain required).
* Example: \*\*<https://spice-country-redirect-demo.myshopify.com/pages/contact**&#x20>;
* Used in Type: **Exact**
* Result: The redirection will be disabled from this specific page.

2. **URL Path:**

* Enter only the path of the URL (not the full domain required).
* Example: /products&#x20;
* Used in Type: **Contains**
* Result: The redirection will be disabled from all the pages which contain the path (/products).
  {% endhint %}

### **1. Exact**

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

For example, to prevent redirection 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.&#x20;

<figure><img src="https://2119731643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lo5KC5Ta6Fs1-alV4Av%2Fuploads%2FXM3t2yuvaCF3aoufiN6X%2FGlobal%20whitelist.png?alt=media&amp;token=9609eb3e-657d-48ff-a287-0725a1c1d508" alt=""><figcaption></figcaption></figure>

### **2. Contains**

With the Contains 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 URLs from redirection 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 redirection.

<figure><img src="https://2119731643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lo5KC5Ta6Fs1-alV4Av%2Fuploads%2FaCkCamYbYL7ZGh7EobQK%2FGlobal%20whitelist%20contains.png?alt=media&amp;token=7b0de23c-72de-4b39-9896-98b8a128896f" alt=""><figcaption></figcaption></figure>
