# Whitelist Settings

The **Whitelist Settings** feature in the GeoIP Country Redirect app allows you to bypass redirection rules for specific IP addresses or URLs. This ensures that users from whitelisted IPs or accessing whitelisted URLs are exempt from any redirection rules configured for your store.

## 1. Whitelist IPs

If a visitor’s IP matches any IP in the whitelist, no redirection rules will trigger.

<figure><img src="/files/7eswNviYLqT0binmQxaC" alt=""><figcaption></figcaption></figure>

### **1: Add IP Addresses**

* Enter the IP addresses you want to whitelist in the **Whitelist IPs** section.
* Use a **comma-separated** format to add multiple IPs (e.g., `192.168.1.1,192.168.1.2`).

### **2: Save the Settings**

* Click **Save** to ensure the IP addresses are whitelisted.

{% hint style="info" %}
Note:&#x20;

**The app supports only IPv4 addresses** for whitelisting. IPv6 is not supported.\
To get your public IPv4 address, visit [whatismyipaddress.com](https://www.whatismyipaddress.com).
{% endhint %}

## **2. Whitelist URLs**

If the visitor accesses a whitelisted URL, redirection rules will not apply.

<figure><img src="/files/De08u1jqbA8E8IO2pWLm" alt=""><figcaption></figcaption></figure>

### **1: Add a Whitelist Rule**

1. Switch to the **Whitelist URLs** tab.
2. Click **Add New Whitelist Rule**.

### **2: Configure the Rule**

* **URI**: Enter the specific URL path to be whitelisted (e.g., `/uri/`).
* **Type**: Choose the matching type:
  * **Exact**: Matches the specific URL exactly.
  * **Contains**: Matches any URL that contains the entered URI.
* **Status**: Ensure the rule is active by default.

### **3: Save the Rule**

* Click **Save** to add the whitelist rule.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.spicegems.com/geoip-country-redirect-legacy/whitelist-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
