> 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-legacy/relative-redirect.md).

# Relative-Redirect

The relative-Redirect functionality of the app **redirects the visitors to the exact same page path as the destination URL.**

> ***For Example:***
>
> *If a rule is created in the app to redirect Canadian visitors from "globalshop.com" to "myshop.com"*
>
> *and someone from Canada visit to the URL "globalshop.com/products/shirt" then by the **relative-redirect feature** they will be **redirected to the same page path like** "myship.com/products/shirt"*

You can enable this feature while creating and editing the redirect rule

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

{% hint style="warning" %} <mark style="color:orange;">**Please note**</mark> <mark style="color:orange;">that when a visitor is redirected and the same page URL is not present on the other website then it will show a</mark> <mark style="color:orange;">**404 error.**</mark>
{% endhint %}
