Revision #28 has been created by Maurizio Domba Cerin on Jul 25, 2017, 11:05:14 AM with the memo:
disabled active links
« previous (#27) next (#29) »
Changes
Title
unchanged
How to have truly multilingual URLs
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
multilingual, multilanguage, url, multilingual url, multilanguage url
Content
changed
[...]
- http://www.oligalma.com/en/services (English)
- http://www.oligalma.com/es/services (Spanish)
This is fine to have a multilingual site. But, we can go one step further. What if we want URLs like these:
- [http://www.oligalma.com/en/tutorials
](http://www.oligalma.com/en/tutorials "") (English)
-
[http://www.oligalma.com/es/tutoriales
](http://www.oligalma.com/es/tutoriales "") (Spanish)
-
[http://www.oligalma.com/en/services
](http://www.oligalma.com/en/services "") (English)
-
[http://www.oligalma.com/es/servicios
](http://www.oligalma.com/es/servicios "") (Spanish)
That is, every URL has its particular path. It changes the whole URL, not just the two initial letters (en/es).
The solution
------------[...]