What is the best place to display the language in your url

Posted by Saif Bechan on Stack Overflow See other posts from Stack Overflow or by Saif Bechan
Published on 2010-05-28T18:35:24Z Indexed on 2010/05/28 18:42 UTC
Read the original article Hit count: 240

I have a multi-language website that makes use of pretty urls, so called search engine friendly urls.

Now there are a few places to define the language in the url.

1)
www.mydomain.com/en/articles/random
www.mydomain.com/nl/articles/random

2)
en.mydomain.com/articles/random
nl.mydomain.com/articles/random

3)
www.mydomain.com/articles/random?lang=en
www.mydomain.com/articles/random?lang=nl

Is there any preffered way of showing this, or is there another way better that I did not show. I would like to hear your comments on this.

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about web-development