How to stop creation or language country combos in URL

Topic summary

A merchant is experiencing unwanted URL variations (like “en-mx” for Mexico) when selling across multiple markets with only two languages (English and Spanish). They want URLs based solely on language, not language-country combinations.

Solution provided:

  • Navigate to Settings → Markets to control URL structure for each market
  • Select the specific market (e.g., Mexico) in settings
  • Go to Domains and languages
  • Choose Primary domain only option

This configuration ensures all markets use the same primary domain, eliminating the language-country subdirectory combinations while maintaining multi-market functionality.

Summarized with AI on November 22. AI used: claude-sonnet-4-5-20250929.

I am selling in multiple markets but only in two languages (en and es). For some reason, for different language + country combos, there is a new url being created, such as “en-mx” for Mexican users in English.

How can I avoid this so its just based on language? Or is this not possible?

You can control the URL that is being used for each market in Settings → Markets.

Here, it seems you have a Mexico market that is using the subdirectory en-mx. If you don’t want this to happen, you can navigate to the Mexico market in settings, then go to Domains and languages, and select Primary domain only. This way your market will use the same domain as your primary.

1 Like