I would like my magento category and product URLs to be something like the following:
www.example.com/products/category-slug/
www.example.com/products/category-slug/product-slug/
By default, with Catalog URL rewrites enabled, I get urls like:
www.example.com/category-slug/
www.example.com/category-slug/product-slug/
I want to keep category url rewrites enabled, for the SEO benefits.
Context:
I am building a site where I need to integrate Magento and a 3rd party content management system. I am doing this by defining a new default root block for the cms_index_defaultnoroute
layout handle that handles non-magento pages by fetching content from the CMS (as described on this magento wiki page). By putting the catalog urls at a different url path, I avoid possible url path collisions with pages managed by the CMS.