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:
With this, you would have the entire category path in the product URL. Like:
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