Top sellers

Specials

Main >> PrestaShop Tips and Modules

Putting category parent path into the category URL in Prestashop

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.

Author: Burhan BAVKIR



Share |

HomeHome