Difference between #27 and #28 of
How to have truly multilingual URLs

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
------------
[...]
0 0
3 followers
Viewed: 18 017 times
Version: 1.1
Category: How-tos
Written by: oligalma
Last updated by: oligalma
Created on: Sep 29, 2015
Last updated: 3 years ago
Update Article

Revisions

View all history