cancel
Showing results for 
Search instead for 
Did you mean: 

Category rewrites

Category rewrites

When selecting filters on category pages i get the standard url of "?cat=45". Is there a way with standard Magento 2 or with an extension to get these to automatically rewrite to the created category page? The above example should redirect to "BMW" for example.

 

Thanks all.  

2 REPLIES 2

Re: Category rewrites

HI @jack_mills,

There is not any direct way in native magento to show category name instead of category id in layered navigation. 

You can try below stackoverflow solution, if it works for you. It will work only for category.  
https://magento.stackexchange.com/a/270275 

There are some third party extension also available to advanced layered navigation. There will work for other attributes as well. 

You can check there demo as well.

magento-2-extensions/layered-navigation

improved-layered-navigation-for-magento-2

I hope it will help you!

Re: Category rewrites

Terrific, thank you!