HikaShop Content Module link incosistency

  • Posts: 39
  • Thank you received: 3
8 years 1 month ago #269496

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.0

Hi,

I am configuring Hikashop on Joomla 3.7.0 with "Search Engine Friendly URLs" and "Use URL Rewriting" options enabled.

Overall everything is working as expected. Product URLs look like this: domain.com/category1_alias/category2_alias/product_alias.
The only problem I am having is with "HikaShop Content Module". When this module is assigned to a page containing Hikashop component, URLs in the module are formatted as described above. But if I add the same module to any other page (for example home page of the site) all product links in the module contain /component/hikashop/ instead of /category1_alias/category2_alias/

I just wonder if this is an expected behavior.

My SEF configuration is attached.


Thanks.
Best regards,
B.G.

Attachments:
Last edit: 8 years 1 month ago by lmcbmai.

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

  • Posts: 329
  • Thank you received: 94
8 years 1 month ago #269533

You have "Use Canonical URL if specified" in your settings. Do you actually have canonical URLs loaded for your products? If not, test it with a few canonical URLs set in your products, and see if you get the same results after clearing the cache.


~ Deb Cinkus, CEO

Polished Geek: more with monday․com
eCommerce Business Process Automation Experts

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

  • Posts: 39
  • Thank you received: 3
8 years 1 month ago #269563

Thanks for the suggestion. Unfortunately it had opposite effect. Without fixing content module it introduced additional links with /component/hikashop/ in the places where I did not have them before. Had to roll back the change and remove all canonical URLs from products table in database.

Last edit: 8 years 1 month ago by lmcbmai.

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

  • Posts: 83986
  • Thank you received: 13603
  • MODERATOR
8 years 1 month ago #269513

Hi,

This means that you didn't select a HikaShop menu item in the "menu" setting of your module and thus the system uses the current menu item, and when the current menu item is not a Hikashop menu, Joomla's SEF system has to use component/hikashop instead of the alias of the menu item so that the link can still work.

The following user(s) said Thank You: lmcbmai

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

  • Posts: 39
  • Thank you received: 3
8 years 1 month ago #269639

Thanks Nicolas! You are right, the home page does not contain Hikashop menu that's why the links have /component/hikashop/

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

Time to create page: 0.095 seconds
Powered by Kunena Forum