url from hikashop module

  • Posts: 42
  • Thank you received: 1
6 years 8 months ago #295688

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.10
-- PHP version -- : 5.x

Hi,
when I click on the hikashop module from the blog, it sends me to a url different from the canonical url of the product.

This involves using a different content grid from the canonical product page, and the page is not displayed correctly.

In fact, in the product page I use only one column of 12, but in the blog I have the sidebar and then I have two columns 9 + 3

The URL of the product page is this:
www.site.com/categorie-prodotti/prod/1-product-name

Instead the URL of the product page if I come from the hikashop module in the blog sidebar is this:
www.site.com/blog/prod/1-product-name

can I edit the url of the product in the hikashop module in the sidebar from
www.site.com/ blog/prod/1-product-name
to
www.site.com/ categorie-prodotti/prod/1-product-name ?

Attachments:
Last edit: 6 years 8 months ago by testdrive.

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

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

Hi,

The canonical URL of the products is for search engines. By itself it's normal that the canonical URL doesn't equal to "all links from different listings leading to a product page have the same URL". If you want that, you need to activate the "force canonical URLs on listings" setting of the HikaShop configuration.
And if that option is on and you still see different URLs on a HikaShop page or HikaShop module (not on a 3rd party extension) then it can only be a caching issue.

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

  • Posts: 42
  • Thank you received: 1
6 years 8 months ago #295740

Hi
ok now works.

I only have a problem with some canonical url that were already there and they were wrong, maybe they were created for testing.

Is there a way to delete them all and generate them automatically again?

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

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

Hi,

You can delete them all with a massaction:
www.hikashop.com/forum/content-creation/...s-from-hikashop.html
With the "force canonical URLs on listings" setting, you can configure it to fill them automatically when needed.

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

Time to create page: 0.196 seconds
Powered by Kunena Forum