HikaShop sliders create duplicate pages on site!

  • Posts: 126
  • Thank you received: 0
11 years 2 months ago #159748

Hello! How to remove the duplicate pages of product? When you create some slider with products, is product URLs has direct links without whole structure.
For example: I have product on address - site.com/hikashop/my-kategory/my-product.html
But links in slider look like this - site.com/hikashop/my-product.html
Thus the HikaShop create duplicate pages. Please, how I can to fix this problem? Because this pages has different URLs and different displaying.

Last edit: 11 years 2 months ago by neviqimka.

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

  • Posts: 84298
  • Thank you received: 13694
  • MODERATOR
11 years 2 months ago #159791

Hi,

Set the option "Force canonical URLs on listings" of the configuration (since HikaShop 2.3.1) to "Use canonical URL and generate it if missing". That way, the URL going to the product page will always be the same.

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

  • Posts: 126
  • Thank you received: 0
11 years 2 months ago #159888

I don't know why, but it's not work, URLs on site not change :(

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

  • Posts: 84298
  • Thank you received: 13694
  • MODERATOR
11 years 2 months ago #159924

Maybe you have some caching on your website ?
Or maybe you use a SEF extension like SH404SEF and you need to purge the SEF URLs cache ?
Also, you can check the "canonical URL" of the products. Make sure that it is correct when you edit your products and try again.

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

  • Posts: 126
  • Thank you received: 0
11 years 2 months ago #160060

I switched off caching on website, because it's on localhost.
All canonical URL of pruducts have correct structure - /hikashop/my-kategory/my-product.html

Maybe you can help information about HikaShop pages on my website:
This is a correct URL - site.com/hikashop/my-kategory/my-product.html where:
hikashop - its parent category and she has type "categories listing"
my-category - has type "categories listing" too, but it's child category
Slider with a last products displayed in parent category (hikashop) and hi display all products from site - it's all products from parent category (hikashop) with id 2

Last edit: 11 years 2 months ago by neviqimka.

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

  • Posts: 84298
  • Thank you received: 13694
  • MODERATOR
11 years 2 months ago #160106

What slider are you using ? The HikaShop slider ? In that case, I don't see how that's possible unless you modified the code of HikaShop in some way.
If you're using a third party slider, it's normal that the URL is different.
But in any case, don't worry, even if you have different URLs going to the same page, it won't be flagged by Google as duplicated content if you filled the "canonical URL" field of your product, and won't impact your page ranking.

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

  • Posts: 126
  • Thank you received: 0
11 years 2 months ago #160173

The problem was in overridden file "listing_slider_vertical.php" because he had version 2.2.2 and he had no correctly code for canonical URLs. Thank you all the same :)

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

Time to create page: 0.065 seconds
Powered by Kunena Forum