Short Product URLs

  • Posts: 52
  • Thank you received: 1
  • Hikashop Business
6 years 8 months ago #295981

Hello.
1) I need your advice on how to make short product URLs e.g. www.mysite.com/products/product-a , www.mysite.com/products/product-b , www.mysite.com/products/product-c , etc
My e-shop has many categories: CategoryA, CategoryB, .... etc with respectively alias category-a, category-b, etc and the most of its products belong to more than one category.
2) your advice on what is the best way to set canonical URLs for categories and products.
Best regards.
Makis

Please Log in or Create an account to join the conversation.

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
6 years 8 months ago #296030

Hi,

1. You can configure a products or categories listing menu item with the alias "products" in order to access your products. And in the "features" tab of the HikaShop configuration you can empty the field "product sef name" and turn on the setting "remove category and product ids from URLs".
That will automatically generate URLs like www.mysite.com/products/product-a , www.mysite.com/products/product-b , etc when you access products through that menu item.

2. After you've setup your menu item as explained in point 1 and get the URLs you wanted, you can set the "force canonical URLs on listings" setting of the HikaShop configuration to "Use canonical URL and generate it if missing".
Then, on the frontend, access once the different listing pages of that "products" menu item and HikaShop will automatically fill in all the canonical URLs of all the products with a missing canonical URL on these pages.

It's also possible to use mass actions to fill in the canonical URLs, but it's more complex to do and not necessarily faster:
www.hikashop.com/forum/install-update/89...ch-results-urls.html

The following user(s) said Thank You: xatzopou

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum