Open duarme opened 9 years ago
@darmens, it could be interesting for the product to have the whole path with the category but i'm not sure how to implement this feature.
I implemented it here: https://github.com/darmens/refinerycms-seoblog (but there is no category nesting yet), also it is how the nested pages path works. You should start declaring a route like this one: https://github.com/darmens/refinerycms-seoblog/blob/master/config/routes.rb#L6 But, again, it would work without nested categories, I'm still working on those.
Wouldn't it be better for the products to have routes such as "example.com/category/subcategory/product" ? Google recommends "speaking urls".
Finally, I't would be nice if "example.com/category/subcategory" redirected to "example.com/categories/category/subcategory".