# Country Redirect

## 1. Feature - Overview

The **Country Redirect** feature enables you to redirect visitors from your primary domain to a destination domain based on their country's IP address (geo-location), using rules configured in the app.

With the **GeoIP app**, you can:

* Redirect users from one **domain** to another
* Route traffic to a **subdomain** or a **specific page URL**
* Set up **multiple redirect rules** to manage global traffic effectively

## 2. Redirection Modes

You can configure redirection in two ways:

1. **Auto-Redirect (Forced Redirection)**\
   Automatically redirects visitors to their regional store without prompting.
2. **Display-Based Redirect (Popup/Banner)**\
   Shows a popup or banner notifying users about their regional store. Visitors can choose to stay on the current site or go to the suggested store.

## 3. Key Features

* Geolocation-based redirection (Country IP detection)
* Support for multiple redirection rules
* Flexible redirection options: Auto-redirect or Popup/banner
* Template editor for customizing the Popup/Banner
* Redirect to domains, subdomains, or specific page URLs
* Whitelist IPs and URLs to bypass redirection

Let's [**create a redirect rule**](/geoip-country-redirect/country-redirect/create-redirect-rule.md) to redirect visitors to their respective stores.


---

# 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/country-redirect.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.
