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:
If I try to follow the same path from the main menu, I get:
Would it be possible to have it like that also on the layered navigation? I've been loking into magento files, and found this:
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?