hikashop duplicate content

  • Posts: 4
  • Thank you received: 1
11 years 7 months ago #130824

hikashop has ability to add product to more than one category. when we do this we have two pages with same title and content, and this duplicate content, how can we prevent this?

Last edit: 11 years 7 months ago by joomir.

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 7 months ago #130835

You need to fill the "canonical URL" field of your products with the main URL of the product. That way, search engines won't flag the different links as duplicated content.

The following user(s) said Thank You: khodavandgar

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

  • Posts: 9
  • Thank you received: 0
11 years 7 months ago #131146

Hmm, I did search the forum for the duplicate content issue, and I am not happy with the solution. With many products, it is quite hard to add a canonical url by hand to each product / category.
Perhaps you could think about an easier solution: for example to choose from mene Items to which the product / category should belong and generate a cannonical url out of this including the product / category ID.
I my case, I have several product categories in the shop and want to show the newest products of all categories and the shop categories on the start page of the shop. In the Joomla menue, I want to have menue Items, which point to the categories. Do you have a suggestion for me to handle this without duplicate content and canonical URLs

Best regards

Christian

Last edit: 11 years 7 months ago by teubernet.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #131199

Hi,

If for one product you have many menus which are redirecting to the same product, so the urls will be different.
This is the way it's working in Joomla, and that's why we added the canonical url field.

If you use modules, in the module options you can select a menu, by this way the url will be the same than the menu when using this module to reach a product.

Your idea to use the menu to determine the main url to use as canonical can wok in your case, but maybe not for other HikaShop users, we will talk about that possibility.

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

  • Posts: 4
  • Thank you received: 1
11 years 7 months ago #131201

I have another idea for solving this problem.
we can remove Itemid from product addressing or fix it. i guess this solve problem.

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

  • Posts: 9
  • Thank you received: 0
11 years 7 months ago #131281

I do not have many menues for particular products, but menues for product categories and their subcategories.

I do not think this is the way, how Joomla´s core works with its own articles:

For example:

You have an Article Company News 1, which is located in the category Company, Subcategory News (http://www.kcandco.dehttp://www.kcandco.de/company/28-news/58-company-news-1.html) and is not linked directly trough the menue.
The Article is shown in the Blog Layout of the Menue Item Company ( www.kcandco.de/company.html ) and the Blog Layout of the Menue Item Blog ( www.kcandco.de/blog.html ).

In both cases you get the same URL for the Article itself: www.kcandco.de/company/28-news/58-company-news-1.html , because Joomla checks that it´s the same Article and generates the URL because of it´s belonging to the category Company, Subcategory News.

Only if you add two Menue Items for a article, I get two different URLS and duplicate content, but can also be helpful, if you want to show a article in different ways. You have also the possibity to show the article in different ways, if it is not linked by a menue item directly, by changing the properties of the Blog layout.

Why should this not work with hikashop products?

The canonical URL works fine, but it is hard to add them if you have many products without any "help" and to get no duplicate canonical URLS by mistake, my proposal could be optional. Also Joomla generates a canonical URL for each page on it´s own, so you get two canonical URLS!

Rgds

Christian

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 7 months ago #131695

Removing the itemid from the url is not a solution as joomla will sometimes not be able to display the page if it doesn't have an itemid (it depends on the way your web server and joomla SEF settings are setup). So you have to have an itemid.

The issue is that we would need to be able to always find the same itemid id for each product regardless of the menu item we are on while the product can be linked to several categories which are themselves potentially linked to different menu items. That's a level of complexity that joomla article don't have as you cannot have a joomla article in several categories while that is often the case for HikaShop products and that's why we can't do what you're suggesting and why we have a canonical URL field so that you can decide what should be the main URL for each product. One thing that we want to do though in the near future is to always display the canonical URL instead of the current menu item URL of the product on products listings.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum