views:

156

answers:

1

Here is an example of what i want to do The Url will be as follow

http://www.example.com/en/us/directory/companies/view/4433225.html
Where is
en: is the lang
us: is the country
directory: is the module
companies: is the controller
view: is the action
4433225.html: is sort of parameter send to the action could be the company name like this company-name.html
A: 

You can archive this using a Conventional Modular Directory Structure. Then you could specify different controller directories per language and so on...

Laimoncijus
Yes I do using Conventional Modular Directory StructureWhat I want to do is exclude the first 2 segments from the routing system as ar/us is not controllers or action the just parameters to define the site lang and country
Mohammad Alqersh
Did you take a look to rewrite rules, for example: `Zend_Controller_Router_Route_Regex`, I think with it you could configure which part of your URLs means language, controller, action and so on...http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.regex
Laimoncijus