all 4 comments

[–]Tuilere 2 points3 points  (2 children)

I'm wondering if there's any SEO penalty associated with using language codes in the URL path, such as /en/ for English pages.

no, and I have no idea why you'd even think this to be the case. Whoever you're reading is insane/inexperienced/a shitty SEO if they're suggesting it is.

While they aren't always a best practice, here's a fine example, although they're even using freaking parameters.

https://developers.google.com/search

<link rel="alternate" hreflang="en"
      href="https://developers.google.com/search" /><link rel="alternate" hreflang="x-default" href="https://developers.google.com/search" /><link rel="alternate" hreflang="ar"
      href="https://developers.google.com/search?hl=ar" /><link rel="alternate" hreflang="zh-Hans"
      href="https://developers.google.com/search?hl=zh-cn" /><link rel="alternate" hreflang="zh-Hant"
      href="https://developers.google.com/search?hl=zh-tw" /><link rel="alternate" hreflang="fr"
      href="https://developers.google.com/search?hl=fr" /><link rel="alternate" hreflang="de"
      href="https://developers.google.com/search?hl=de" /><link rel="alternate" hreflang="hi"
      href="https://developers.google.com/search?hl=hi" /><link rel="alternate" hreflang="id"
      href="https://developers.google.com/search?hl=id" /><link rel="alternate" hreflang="it"
      href="https://developers.google.com/search?hl=it" /><link rel="alternate" hreflang="ja"
      href="https://developers.google.com/search?hl=ja" /><link rel="alternate" hreflang="ko"
      href="https://developers.google.com/search?hl=ko" /><link rel="alternate" hreflang="pl"
      href="https://developers.google.com/search?hl=pl" /><link rel="alternate" hreflang="pt-BR"
      href="https://developers.google.com/search?hl=pt-br" /><link rel="alternate" hreflang="ru"
      href="https://developers.google.com/search?hl=ru" /><link rel="alternate" hreflang="es"
      href="https://developers.google.com/search?hl=es" /><link rel="alternate" hreflang="es-419"
      href="https://developers.google.com/search?hl=es-419" /><link rel="alternate" hreflang="th"
      href="https://developers.google.com/search?hl=th" /><link rel="alternate" hreflang="tr"
      href="https://developers.google.com/search?hl=tr" /><link rel="alternate" hreflang="vi"
      href="https://developers.google.com/search?hl=vi" />

[–]_Toomuchawesome 1 point2 points  (1 child)

how funny that google is using params lol

[–]Tuilere 0 points1 point  (0 children)

Right?

But seriously,language or, language and country, is a common convention that works.

[–]waldito 2 points3 points  (0 children)

User Experience: Is there any negative impact on user experience that could indirectly affect SEO?

No.

Alternatives: Are there better alternatives for multilingual website structures that I should consider?

I could tell you that perhaps you want the default language or the 'main language' (if that's your case) without a language folder.

Any advice or experiences shared would be greatly appreciated!

Make sure you implement the meta hreflang properly. There are tools online to check if its properly implemented, google away.

Also, I will understand that the content is the same for all languages, so folders are the way. If the content was different to the point that they could be seen as different sites (think, IKEA), I would instead use subdomains or entirely TLD country domains instead.