# Foundation of a Redirect Rule

A redirect rule consists of the following fields:

1. [Rule Name](#id-1.-rule-name)
2. [Visitors Country](#id-2.-visitors-country)
3. [Redirect to store URL](#id-3.-redirect-to-store-url)
4. [Store name](#id-4.-store-name)
5. [Redirect Type](#id-5.-redirect-type)

## 1. Rule Name

This is a unique identifier for the redirect rule. It helps distinguish one rule from another rule.

## 2. Visitors Country

* Specifies the country or countries of the visitors who will be affected by this redirect rule.
* This field can include a single country or multiple countries.
* Example: "United States", "Canada", or "All Countries"

## 3. Redirect To Store URL

* The destination URL where visitors will be redirected when they meet the conditions of the rule.
* This should be a valid and complete URL.
* Example: "line-item.myshopify.com" is a destination store URL

## 4. Store Name

* Add the name of the store based on the country in which it is located or on the basis of its branding.&#x20;
* Example: "US Store" or "Global Store" or "Reebok store US"&#x20;

## 5. Redirect Type

Defines the method of redirection which includes Popup/Banner (with certain information) or Auto-redirection (without any information)

**Auto Redirection:** Redirects users forcefully to the destination URL as per the rule

**Display Based Redirection:** Asks users to redirect to the destination store or want to stay on the initial store


---

# 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/general-features/interpretation-of-a-redirect-rule.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.
