Posted on: 05/23/2014 21:41:46
From Prestashop 1.5 onwards, you can put the entire category path into the Product URL. You can do so by changing the product URL under Preferences -> SEO & URLs to the following:
{categories:/}{id}-{rewrite}.html
With this, you would have the entire category path in the product URL. Like:
www.example.com/parent-category/sub-category-1/sub-category-2/id-product.html
But this only works for product URLs, you can't use the same for category URLs. Our Pretty URL module now allows you to use this keyword on category URLs as well. After installing the version 2.2 of the module, you can use this keyword under Preferences ->SEO & URLs for category URLs as well. This works even if the module is not enabled for category links.
seo prestashop url id number friendly pretty url category categories parent