Removing "/component/hikashop/ from SEF URL

  • Posts: 75
  • Thank you received: 12
9 years 1 month ago #247288

-- url of the page with the problem -- : cilsposana.com
-- HikaShop version -- : Latest
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.4
-- Browser(s) name and version -- : Chrome

We have issues with friendly URLs in Hikashop. They're different for Search and Category modules versus the Product Detail; they contain "/component/hikashop/" which creates content duplication in the eye of Mr. Google.

Please note that none of our products have a Canonical URL set (all null).
Also, we have a multilingual catalog.

We tried your suggestion to add the menu item ID in the HikaShop search plugin but this doesn't work, it just adds the ItemID=441 at the end of the URL ? Also, we have 2 menu items for search results since we habe a bilingual site and each result page has a language specific page header (title). The plugin doesn't allow to specify a language specific ItemID ?

Even if the Search ItemID would work, it wouldn't solve the module equivalent, would it ?

We're testing with the following product (en + fr)
-> Shower Hydrating Milk SL (Sensitive skin) - 500ml
-> Lait de douche SL (peau sensible) - 500ml

PRODUCT DETAIL URLS

Product listing link -> product detail
[EN] cilsposana.com /skin-care-all/skin-care/product/shower-hydrating-milk-sl-500ml
[FR] cilsposana.com/fr /soin-peau-all/soin-de-la-peau/product/lait-douche-sl-500ml


SEARCH MODULE AUTORESULTS & RESULTS PAGE URLS

Search module (autoresults
[EN] cilsposana.com /component/hikashop/product/shower-hydrating-milk-sl-500ml
[FR] cilsposana.com/fr /component/hikashop/product/lait-douche-sl-500ml

Search results page
[EN] cilsposana.com /component/hikashop/product/shower-hydrating-milk-sl-500ml
[FR] cilsposana.com /fr/component/hikashop/product/lait-douche-sl-500ml


HIKASHOP CONTENT MODULE URLS

[EN] cilsposana.com /component/hikashop/product/shower-hydrating-milk-sl-500ml
[FR] cilsposana.com/fr /component/hikashop/product/lait-douche-sl-500ml

Any suggestions ?
Thanks
Danny


Danny Malouin
BeNu - Digital success agency
benu.ca

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
9 years 1 month ago #247291

Hi,

Removing the component/hikashop part of the URLs won't help avoid the duplicate link content.
But the fact that it adds the itemid parameter instead of removing the component/hikashop part is because the id that you entered isn't for a menu item of the type HikaShop but from another component.

The solution here will be to enter the URL of the product page in the canonical URL field of the products. And when you translate the products, you'll also find a canonical URL field so that you can enter the URL for each language for the product.
Then, it will prevent the duplicate content SEO errors, regardless of what is the current URL of the product page.
And if you turn on the "force canonical URLs on listings" setting of the HikaShop configuration, you'll even get always the same URL for the product pages, regardless from where you're coming.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum