Language Consideration with Relative Redirect
Preserve Language-Code (Locale)
Last updated
Preserve Language-Code (Locale)
Last updated
The Language Consideration feature is ideal for store owners who have configured Shopify markets for multiple countries or regions and want to redirect visitors from the initial store's specific page URL to the exact same page URL on their native store, with the appropriate language code.
You can utilize the feature in 2 ways:
Let's understand the functionality of both options with the Relative Redirect feature:
Preserve language code with relative redirect has certain cases which depend on the language code availability in the landing URL and "Redirect To Store URL (Destination URL)" in the app.
shop-one.com/en
shop-two.com/fr
shop-two.com/fr
shop-one.com/en/product
shop-two.com/fr/product
shop-two.com/fr/product
shop-one.com/en
shop-two.com
shop-two.com/en
Shop-one.com
shop-two.com/fr
shop-two.com/fr
shop-one.com/product
shop-two.com/fr/product
shop-two.com/fr/product
In the Locale from Redirect URL functionality, the language code will be considered as per the availability in the destination store "Redirect To Store URL" only:
shop-one.com/en
shop-two.com/fr
shop-two.com/fr
shop-one.com/en/product
shop-two.com/fr/product
shop-two.com/fr/product
shop-one.com/en
shop-two.com
shop-two.com
Shop-one.com
shop-two.com/fr
shop-two.com/fr
shop-one.com/product
shop-two.com/fr/product
shop-two.com/fr/product
In case of any queries, please feel free to reach out to help@spicegems.com