I need to prevent the category URL suffix from being added to a select few pages.
The suffix is set to
.html, and I need it to be that for 99% of category pages, but the issue arises when trying to use product compare.
https://fake-magento-store/catalog/product_compare/.html which throws a 404. I've looked through the code base for the previous three hours to no avail.