(Magento) On a category page I can filter products by other categories using the ?cat=... parameter. This works just fine (In combination with Amasty improved navigation). But I would like to make the URL SEO friendly. Now my URL looks like:
https://sitedomain/brands/sony?cat=251
Explained:
"brands" is a category containing subcategories for all my brands.
"sony" (example) is a sub category of "brands" containing all Sony products.
"cat 251" is a category named "cameras" with a different parent (so not a sub category of "brands" or "Sony")
This URL shows me all Sony camera's, so that's just fine. But I would the URL to be:
https://sitedomain/brands/sony/cameras
or if that is not possible something like:
https://sitedomain/brands/sony/filter/cameras
I have no idea how to start. My approach was creating a module that triggers a URL rewrite as soon as the cat parameter exists. But I had no luck at all so far. So is this even possible? And if so, please point me into the right direction. Thanks!