Pretty urls in prestashop and remove {category} from url or .html

Hi bros, I bought some days ago your module "pretty urls", I'm very satified about it. I've a simple question, or maybe I would like to know your point of view. What do you think to remove the *html and the category name? Do you have any experience or some customer that already did that and any feedback? Thanks to your kind reply.



Hello
it can be removed, just change the "schema of url" for product page under "shop parameters > traffic / seo & urls" settings.
by default module uses this schema for product: {categories:/}{rewrite}.html
just change it to {rewrite}

what do i think about such change? What is the correct url format?
There is no rule about it. Several (~10) years ago SEO tutorials said that the shorter urls were more attractive for google, but after changes in Google Penguin (algorithm that is behind the google search tool) this rule is no more applicable. At least if your urls are just normal (simple construction like domain.com/category/page or domain.com/category/page.html

just take a look on the most popular e-commerce websites like zalando or asos.
Zalando does not use /category/ in products' urls. But it uses .html at the end of them
Asos uses the /category/ in products' urls but it does not use .html at the end of them
there is just no universal and good solution. Both of them are fine as long as your url is clean, do not contains variables (?parameter=123123&paramter=xyzasd etc.)

What in context of prestashop?
The /category/ in url of product is good option for distinction purposes.
let's say that you've got "red-t-shirt.html" products, one product in "man" category and other "red-t-shirt.html" product in "woman" category.
the url to these products with /category/ in url are:
domain.com/woman/red-t-shirt.html
domain.com/man/red-t-shirt.html 
thanks to this prestashop and our module will easily distinct these products. 

if you will remove /category/ from url the urls will be like:
domain.com/red-t-shirt.html 
domain.com/red-t-shirt.html 
these urls are the same, you will need to change the friendly url value to distinct these two products.

So, if you have several products and you can easily control the friendly url behind them - you can remove /category/ from url

but if you've got many products it might be a bit complicated to control the friendly urls behind your products. It can be solved of course, but it will be time consuming work. 

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