Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django i18n and SEO

how do you prepare i18n in your websites? I mean what do you do avoid the situation when you search for i18ned websites in Polish you get English description cause English is the default one.

Thanks in advance, Etam.

like image 314
Etam Avatar asked Feb 03 '10 22:02

Etam


1 Answers

I give every language version it's own URL. So English version of an article would be avialiable under http://example.com/en/my-article, and a version in Polish under http://example.com/pl/my-article (or if you really care about SEO even under http://example.com/pl/moj-artykul).

Had I given all version the same URL (and switched content dynamically) Google would have indexed only one version, and users couldn't find the article using keywords from any other language. I also think having distinct URLs people can link to for every version is more user friendly.

like image 200
Ludwik Trammer Avatar answered Oct 03 '22 18:10

Ludwik Trammer