Hi everyone:
I'm working now with this URL pattern:
http://dominio.com/lang/controller/action
For example:
http://dominio.com/es/servicios/habitaciones
http://dominio.com/en/servicios/habitaciones
http://dominio.com/fr/servicios/habitaciones
http://dominio.com/de/servicios/habitaciones
That is, the Controller and the Action are always in the same language.
The language in ISO avoids duplication of URL's, as it is penalized by
Google.

The fact is that now I want to restructure the URLs of my projects for the
Controller and the Action to be translated. That is, get this type of URL's:
http://dominio.com/es/servicios/habitaciones
http://dominio.com/en/services/rooms
http://dominio.com/fr/services/chambres
http://dominio.com/de/service/zimmer

Although a better option would be the language in the domain, thus:
http://es.dominio.com/servicios/habitaciones
http://en.dominio.com/services/rooms
http://fr.dominio.com/services/chambres
http://de.dominio.com/service/zimmer
... but I leave it for later:

That is, the idea would be to translate the names of the Controller and the
Action to enhance the SEO in different languages.
I don't have very clear the best way to do so. Nor can't find examples for
this.
Any idea would be appreciatted ....
-- 
View this message in context: 
http://www.nabble.com/Zend_Controller_Router_Route%3A-Translating-controller-action-in-URL%27s-tp21165945p21165945.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to