I'm using Magento 2, and on the category pages, on the left, where are listed all the subcategories, if I click on any of them, I get a link ending in: ?cat=id
If I try to follow the same path from the main menu, I get: /subcategoryname.html
Would it be possible to have it like that also on the layered navigation? I've been loking into magento files, and found this: /vendor/magento/module-layered-navigation/view/frontend/templates/layer/filter.phtml
with this part of code: <a href="<?= $block->escapeUrl($filterItem->getUrl()) ?>">
working out that link, it would be fine editing this, and how? or it would work better another way?