in my _theme.less I've implemented my own mega menu, which is working perfectly on all pages except in product detail page. I've realized magento generates urls like:
on all pages, which are correct, but in product detail it adds a "mage" word:
which brings to a 404.
Why is this and how to solve?
Thanks a lot