I want this url structure: www.site.com/ferrari/f40, or www.site.com/ford/fiesta to view the product page. Or www.site.com/ferrari to view the category page with all products.
How can I do this? I think that www.site.com/brand/ferrari and www.site.com/car/f40 its easier but I don’t know…
maybe you need this code demo
in Yii url control is just like a piece of cake.