Revision #29 has been created by Maurizio Domba Cerin on Jul 25, 2017, 11:05:39 AM with the memo:
fix
« previous (#28) next (#30) »
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 (English)
- http://www.oligalma.com/es/tutoriales
(Spanish)
- http://www.oligalma.com/en/services
(English)
- 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
------------[...]