In magento2 click on category, that category url look like this www.example.com/catalog/category/view/s/hook-and-loop-brands/id/71/
how can i remove the category id and category path in url?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
I found a different solution to this problem.
For me, I found /category/id appearing at the end of some product url's. It turned out this was because I had the same product across multiple stores (which is fine), but the url under 'search engine optimisation' needed to be set within the specific store scope on each product and not just the products default scope.
On a product with this issue: