0

I am working currently on rebuilding a platform that is targeting local companies within the country. It should be localised and available in couple of languages. I inspected couple of big companies products and they often have something like

  • domain.com/en-us/shop (for english USA)
  • domain.com/en-gb/shop (for english England)
  • domain.com/de-de/gesch%C3%A4ft (for German)
  • domain.com/it-it/negozio (for Italian)

while i already made logic that supports only language really

  • domain.com/en/shop (regardless of country)
  • domain.com/de/gesch%C3%A4ft
  • domain.com/it/negozio

I started some research and its not really easy to find if there is some standard that must be followed.

  1. I checked this topic What is the correct and better language code format in URL and hreflang?. Sadly it doesnt have any answers, its also marked as duplicate of topic that doesnt say single thing about this matter.

  2. this is the topic that was suppose to be original URLs: Should I use hyphens, underscores or plus symbols? its completely unrelated to this problem.

  3. then i found this topic When using country and language codes in a URL, which goes first? which presents a table that displays Java supported locales like that one en_AU however noone realy uses this format in the url.

So my question would be. What is the SEO favorited format of language in url? is it fine to use just language code /en or it must be including country code /en-gb then if so should it be represented as en_GB like in point 3 or it should be rather en-gb like existing big companies use?

All above ofc assuming that you are not using strategy of domain extension specific for country domain.de or google like which is to detect language and skip it all together.

  • 1
    URL paths have very few standards. In most cases you are free to do it how you think is best. When there are multiple ways of doing it, different site reasonably do different things, and that doesn't matter much. – Stephen Ostermiller Jun 13 at 12:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.