- Posts: 39
- Thank you received: 3
HikaShop Content Module link incosistency
9 years 5 months ago - 9 years 5 months ago #269496
by lmcbmai
HikaShop Content Module link incosistency was created by lmcbmai
-- 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.
-- 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.
Last edit: 9 years 5 months ago by lmcbmai.
Please Log in or Create an account to join the conversation.
- PolishedGeek
-
- Offline
- Official HikaShop Development Partner
9 years 5 months ago #269533
by PolishedGeek
~ Deb Cinkus, CEO
Polished Geek: more with monday․com
eCommerce Business Process Automation Experts
Replied by PolishedGeek on topic HikaShop Content Module link incosistency
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.
9 years 5 months ago - 9 years 5 months ago #269563
by lmcbmai
Replied by lmcbmai on topic HikaShop Content Module link incosistency
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: 9 years 5 months ago by lmcbmai.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #269513
by nicolas
Replied by nicolas on topic HikaShop Content Module link incosistency
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.
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.
9 years 5 months ago #269639
by lmcbmai
Replied by lmcbmai on topic HikaShop Content Module link incosistency
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.054 seconds