> 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="https://2407849133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbLqz7fE3vIPX3kttjjf%2Fuploads%2FxrT2g9nLygumR6fC92Q8%2Fimage.png?alt=media&amp;token=c305d173-51a0-4faa-b7fb-4cff4dc82d5b" 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 %}
