django multi-language (i18n) and seo

Posted by fumer on Stack Overflow See other posts from Stack Overflow or by fumer
Published on 2010-04-21T14:38:28Z Indexed on 2010/04/21 14:43 UTC
Read the original article Hit count: 215

Filed under:
|
|
|

hi,

I am developing a multi-language site in django. In order to improve SEO, i will give every language version a unique URL like below, english: www.foo.com/en/index.html french: www.foo.com/fr/index.html chinese: www.foo.com/zh/index.html

However,

Django looks for a "django_language" key in user's session or cookie to determine language in default, so,Despite which language user chose, URL is always the same. for instance: http://www.foo.com/index.html

how to resolve this problem ? thank you!

© Stack Overflow or respective owner

Related posts about django

Related posts about i18n