# Preserve Path

The Preserve Path feature is best suited for store owners who have created cloned stores for multiple countries and want to redirect visitors from the initial store (specific page) URL to the exact same page URL on their native store.

**Let’s understand the functionality with an example:**&#x20;

We have **2 Store URLs** –&#x20;

**US Store** – abc.com\
**Canada Store** – xyz.com

A visitor visits ‘**abc.com**‘ and navigates to the product ‘**abc.com/products/shirt**‘. On the current page, if the visitor selects **‘xyz.com**‘ from the switcher, they will be redirected to ‘**xyz.com/products/shirt**‘ on the same product path, if available.

**Note:** In case the same page URL is not present on the destination (Germany store) then it will show a 404 error.

For a better understanding of the functionality, check the video.

{% embed url="<https://vimeo.com/1041644242>" %}

{% hint style="info" %}
For any assistance with switcher configurations, please feel free to reach out to us at **<help@spicegems.com>**
{% endhint %}


---

# 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/geoip-switcher/preserve-path.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.
