Friendly And Dynamics Url

Good afternoon friends programmers,

I’m developing a system of e-commerce and I am friendly urls deploy the system.

For example … on product details page, I want the url to stay well:


In case of a navigation category url stay as follows:


Anyone have any idea how I can do this?

Thank you in advance!

NOTE: Do not let me make the controller name in the url. Eg


First of all, read the docs.

Then create appropriate regexp for url parsing, and write required rules.

The only catch here is to separate controllers from the categories.

It can be done by listing them in the first rule, for example ‘<controller:(site|news|page|company)>’