AI OnAI Off
Hey Benjamin,
There is a nice blog post about this, this will be helpful for you..
Hey Benjamin,
There was a similar discussion in the past where community member had pointed out what Quan had explained in his book how to remove catalog from URL. you should follow that approach instead. That approach will ensure your URL structure will continue to work even when your product is directly underneath the catalog root.
~ Sujit
Hello
I'm trying to get the following URL structure for my Commerce:
Product directly on root:
{base-url}/en-gb/{product-segment}
Category path but without catalogue name:
{base-url}/en-gb/{category-1-segment}/{category-2-segment} etc.
I've been able to remove the catalogue name with the following code in my initiallization module:
However I've been unsuccesful achieving the desired outcome. Anyone been succesful with this?
Commerce v13.7.1
CMS v11.13.0
Thanks in advance,
Benjamin Sorterup