Relative Redirect
Last updated
Last updated
The relative-Redirect functionality in the app redirects the visitors to the exact same page path on the destination URL (if available).
For Example:
A rule is created in the app to redirect Canadian visitors from the Global store "line-item.myshopify.com" to the Canadian store "sg-localapp.myshopify.com"
If visitors from Canada visit the URL line-item.myshopify.com/products/shirt. With the relative redirect functionality, they
will be redirected to the same page path on the destination store (Canadian store)sg-localapp.myshopify.com/products/shirt.
You can enable this feature in the rule to redirect users to the exact same page (if available) on the destination store.
If you are using Shopify markets or translations, then you can manage the locale in the URL while redirecting. Click here to learn more about preserving language code functionality
Please note that if the same page path/URL is not available on the destination store, it will display a 404 page.