i want to change schema of url for product and categories in PrestaShop

Hi I have a question regarding "Pretty Clean Urls" module that creates super friendly urls in shop. Currently the category url looks like this: http://xxxxx.com/demo/ 
but I want to use like this: http://xxxxx.com/xxxxx/demo/. 

At products currently looks like this: http://xxxxx.com/demo/test.html 
but I want to use like this: http://xxxxx.com/test.html 

Can I do this with your clean urls module


Manage the schema of urls for products in categories

product url:
Yes, module allows to use schema of url for product like: {rewrite}.html
So in effect the url for product will look like: http://domain.com/{rewrite}.html

category url:
what is XXXXX  in http://xxxxx.com/xxxxx/demo/ ?
its a part of categories tree? if so - it is possible, for category's schema of urls you can use:  {parent_categories:/}{rewrite}/
So in effect the url for categories will look like: http://domain.com/ {parent_categories:/}{rewrite}/
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a comment