Mobile app version of vmapp.org
Login or Join
Caterina187

: What is the correct and better language code format in URL and hreflang? From SEO perspective, which language code format in the URL is better and more correct? www.example.com/en-US www.example.com/en_US

@Caterina187

Posted in: #Multilingual #Seo #Url

From SEO perspective, which language code format in the URL is better and more correct? example.com/en-US www.example.com/en_US

Is the second format valid for the attribute hreflang in <link rel="alternate".....>?
According to the Google guideline, the first format en-US is always described.

I have already done my website with the second format en_US. Is it worth to move to the first format if it is a better one.

[UPDATE]

Rather than trying to find an answer to choose underscores or dashes in URL, I would like to know about the correct language code usage in URL. For example, as I already used the en_US format, what is the correct usage?

<link rel="alternate" href="http://www.example.com/en_US" hreflang="en_US" />
<link rel="alternate" href="http://www.example.com/en_US" hreflang="en-US" />

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme