I would like to achieve something like this with ZF router. ('controller' => 'products', 'action' => 'index'
)
//Show product details
'http://mydomain.com/en/products/category-1/subcategory-3/product-name.htm'
//List products in subcategory-3
'http://mydomain.com/en/products/category-1/subcategory-3.htm'
//List products in category-1
'http://mydomain.com/en/products/category-1.htm'
//List products in all categories
'http://mydomain.com/en/products.htm'
Do I have to specify each possibility as separate route? Or is there better solution? (Using Route_Regex
?)