# Create Redirect Rule

Let us understand the rules creation process step-by-step:

## &#x20;1. General Settings

<figure><img src="https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2FQknA8uilY9xmqnsby2cf%2Fcreate_redirect_rule_s_1.png?alt=media&#x26;token=a0a8c77c-20fe-4386-9af9-f946ce91681d" alt=""><figcaption></figcaption></figure>

## 2. Redirect Settings&#x20;

<figure><img src="https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2FGu3HEwABzgp3wCzjdAAB%2Fcreate_redirect_rule_s_2.png?alt=media&#x26;token=6719b23e-591d-49ce-9b95-e90cf541c6d7" alt=""><figcaption></figcaption></figure>

If you want to redirect on the same destination path then you need to enable the "Relative Redirect" setting

{% content-ref url="relative-redirect" %}
[relative-redirect](relative-redirect)
{% endcontent-ref %}

## 3. Redirect Type

<figure><img src="https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2FhT2DEvF1NOhdFUSqC4Ya%2Fcreate_redirect_rule_s_3.png?alt=media&#x26;token=1b0272d6-15ea-4f47-b2c2-72cac03ab82c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**There are two types of redirection options in the "Choose Type"**

![](https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2FC8ln2BLf6knGLkEBVcxX%2Fcreate_redirect_rule_choose_type.png?alt=media\&token=b0508e27-946c-4cdf-8c04-e9dd180645fd)

**Auto Redirection:**

&#x20;Automatic redirection instantly redirects a visitor as soon as they open your site. This provides a seamless redirect experience to the visitor.

**Display Based Redirection:**

&#x20;If you need to prompt visitors to redirect or opt to stay, then the Display-Based Redirection is perfect and it is easily customizable.
{% endhint %}

{% hint style="info" %}
If you choose "Display Based Redirection" then you can choose the existing template or you can create a new template from here.

![](https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2Fwvx60WQSuIB6PN2aZGLk%2Fcreate_redirect_rule_choose_template.png?alt=media\&token=9af7dd90-49ad-473f-a872-69ff982246b2)
{% endhint %}

{% content-ref url="create-clone-and-delete-template" %}
[create-clone-and-delete-template](create-clone-and-delete-template)
{% endcontent-ref %}

## 4. Whitelist

<figure><img src="https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2FGUdKm847HIFA69lHP4Rs%2Fcreate_redirect_rule_s_4.png?alt=media&#x26;token=51929285-ffa2-46a4-aec2-eec592d273fd" alt=""><figcaption></figcaption></figure>

{% content-ref url="rule-based-whitelisting" %}
[rule-based-whitelisting](rule-based-whitelisting)
{% endcontent-ref %}

## 5. Analytics (UTM)

<figure><img src="https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2FdNwH2HjfzX6SYFb2vsxs%2Fcreate_redirect_rule_s_5.png?alt=media&#x26;token=ea966931-293a-4825-9780-f0e34484fd2a" alt=""><figcaption></figcaption></figure>

{% content-ref url="utm-parameters-in-the-geoip-country-redirect" %}
[utm-parameters-in-the-geoip-country-redirect](utm-parameters-in-the-geoip-country-redirect)
{% endcontent-ref %}
