SpiceGems Knowledge Base
All AppsContact Us
GeoIP Country Redirect
GeoIP Country Redirect
  • 📖Overview
  • Getting Started
  • Country Redirect
    • Create Redirect Rule
    • Create Exception-Based Redirect Rule
    • Bypass the Redirection
    • Redirect Templates (Popup/Banner)
      • Customize Redirect Templates
    • Dynamic Flags
    • FAQs
      • How to redirect visitor forcefully?
      • How to add Flags with the countries in the switcher?
      • What is Same-domain?
      • Can the app perform instant redirection before the page load?
      • How to setup different redirection type on different rules
      • How to Create Popups in Multiple Languages
      • Can the app remember the user's selection when displaying a pop-up/banner
      • How can i test the redirect rules
      • Can I prevent the redirection for specific redirect rule
      • How to forward existing parameters while redirection
  • Country Blocker
    • Create Blocker Rule
    • Create an Exception Based Rule
    • Customize Blocker Template
    • Country Blocker Whitelist Settings
    • Bypass Blocker Rules
    • FAQs
      • How to block certain countries to access my store?
      • How to block certain visitors by IPs
      • How to Bypass from Blocker Rules
      • Can I set a custom message for blocked visitors?
      • Can I allow some users from the block location to access the store?
      • My analytics are showing discrepancies.
  • General Settings
    • Relative Redirect
    • Language Consideration with Relative Redirect
    • Whitelist (Rule based)
    • UTM Parameters
    • Page-Specific Redirection
    • URL Mapping
    • Alpha-2 country codes
  • GeoMarket Redirect
    • GeoLocation Popup
    • Geolocation Popup Editor
    • Auto-Redirect
  • GeoIP Switcher
    • Shopify Market Switcher
    • Manual Switcher
    • Preserve Path
    • Language Consideration
    • Customize switcher template
  • GDPR Info Bar
  • Global Whitelist Settings
  • General FAQs
    • How to disable the app?
    • Can I use the app on multiple stores in the same browser?
    • Foundation of a Redirect Rule
    • Understanding the App functionality
    • Login Issues
    • Disable Prevent Cross-Site Tracking in Safari on Mac
  • App Pricing
Powered by GitBook
On this page
  • 1. Default
  • 1.1 Language code available in the landing URL and Redirect To Store URL
  • 1.2 Language code available only in the landing URL
  • 1.3 Language code available only in the Redirect To Store URL
  • 2. Locale from Redirect URL
  • 2.1 Language code available in the landing URL and Redirect To Store URL
  • 2.2 Language code available only in the landing URL
  • 2.3 Language code available only in the Redirect To Store URL
  1. General Settings

Language Consideration with Relative Redirect

Preserve Language-Code (Locale)

PreviousRelative RedirectNextWhitelist (Rule based)

Last updated 2 months ago

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:

  1. Default

  2. Locale from Redirect URL

Let's understand the functionality of both options with the Relative Redirect feature:

1. Default

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.

1.1 Language code available in the landing URL and Redirect To Store URL

Landing URL
Redirect To Store URL
Final Redirection URL

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

1.2 Language code available only in the landing URL

Landing URL
Redirect To Store URL
Final Redirection URL

shop-one.com/en

shop-two.com

shop-two.com/en

1.3 Language code available only in the Redirect To Store URL

Landing URL
Redirect To Store URL
Final Redirection URL

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

2. Locale from Redirect URL

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:

2.1 Language code available in the landing URL and Redirect To Store URL

Landing URL
Redirect To Store URL
Final Redirection URL

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

2.2 Language code available only in the landing URL

Landing URL
Redirect To Store URL
Final Redirection URL

shop-one.com/en

shop-two.com

shop-two.com

2.3 Language code available only in the Redirect To Store URL

Landing URL
Redirect To Store URL
Final Redirection URL

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