about the related product, why the url is "..component/hikashop/.."

  • Posts: 42
  • Thank you received: 0
8 years 1 day ago #271977

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.6.4

hello

I have many products and each product I set the related products under the detail page. just like the url:
inflationmachine.com/products/inflation-...achine/gf-hmm28.html

and I make every product has unique url just like:
inflationmachine.com/products/inflation-...achine/gf-hmm28.html
inflationmachine.com/products/inflation-...machine/tiny-25.html
inflationmachine.com/products/inflation-...machine/tiny-28.html
the menu item is "HikaShop » Products listing" .

but when clicking each one of the related products under the detail, the product url is for example " inflationmachine.com/component/hikashop/tiny-25.html?Itemid=0 ", not the url of itself " inflationmachine.com/products/inflation-...machine/tiny-25.html ".

I do not know how to fix this or what setting can I set to make the url of each related product not to display "..component/hikashop/.."

can you show me how.

thank you.

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

  • Posts: 83937
  • Thank you received: 13601
  • MODERATOR
8 years 15 hours ago #271981

Hi,

You say "and I make every product has unique url just like". How do you do that ?
Normally, to do that, you're supposed to enter that URL in the "canonical URL" field of your products and then activate the "force canonical URL on listings" setting of the HikaShop configuration.
If you do that, it will work for the related products too. So I suppose that you're talking about something else. Did you properly fill the canonical URL of your products and activated that setting ?

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

  • Posts: 42
  • Thank you received: 0
8 years 6 hours ago #272056

the unique url I mean is that the menu item alias and the hikashop product alias, so the url looks like "inflationmachine.com/products/inflation-...achine/gf-hmm28.html"

so this way can not avoid the url "..component/hikashop/.." ?

so if I want to solve this problem, I just do what you say to enter that URL in the "canonical URL" field of products and then activate the "force canonical URL on listings", then it will make the url of related product not to display the url "..component/hikashop/..", is it right ?

thank you.

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

  • Posts: 83937
  • Thank you received: 13601
  • MODERATOR
7 years 11 months ago #272060

Hi,

That's right. Do what I was talking about and it will work like you want.

The following user(s) said Thank You: cycnorman

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

  • Posts: 42
  • Thank you received: 0
7 years 11 months ago #272236

yes, it works, thank you so much.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum