Product is accessible via another category url

  • Posts: 217
  • Thank you received: 4
5 years 11 months ago #291426

-- HikaShop version -- : 3.11

Hello,

I have dozens of categories and hundreds of products in my shop.
Let's say there is category A and B. And products A1,A2.... that belongs to category A and B1,... that belongs to category B.

The problem is that I can access all the B products from A category too.
For example: website.com/A/B1 and Google index it and it can be found in the search.

Do you have any suggestions how to avoid this, please?


Thank you,
Filip

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

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
5 years 11 months ago #291429

Hi,

The fact that you can access a page through multiple URLs is normal in Joomla. You can also access Joomla article through multiple URLs for example.
The solution to avoid issues with SEO is to use canonical URLs.
In HikaShop, when you edit your products, you have a field called "canonical URL" where you can enter the main URL that you want to be referenced. So there, put the URL that is generated by HikaShop on the normal listing and it will be good.
Note that you can also set the "force canonical URLs on listings" setting of the HikaShop configuration to "Use canonical URL and generate it if missing" and HikaShop will fill these automatically when you browse your product listings.

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

  • Posts: 217
  • Thank you received: 4
5 years 11 months ago #291460

Hello Nicolas,

thank you very much for explanation. I set canonical urls to all pages via MysQL command.

Have a nice day,
Filip

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

Time to create page: 0.058 seconds
Powered by Kunena Forum