clicking on product listing leads to home page

  • Posts: 11
  • Thank you received: 0
4 years 3 months ago #326995

-- Joomla version -- : 3
Update: I got it working after testing URL settings (left as it was: create canonical ), changed menu Sub elements filter to All sub elements (before was Direct sub elements) and deleted a few trashed modules. No idea what actually fixed it.

Hello,

Clicking on some of the products on product listing page (opened though menu item) or in Hikashop product listing module does not open the product page but directs to homepage instead. This occurs only with some products and I cannot understand why and how to change that.

I found the post: www.hikashop.com/forum/product-category-...ds-to-home-page.html but this cannot be the issue as I connected the modules with menu items. In addition I found one product directing to homepage that is not displayed in any modules, only through 2 menu item product listings.

Any tips?

Thank you.

Last edit: 4 years 3 months ago by nousername.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 months ago #327026

Hi,

I suppose that your problem was and still is that you have invalid URLs in the "canonical URL" field of your products. Probably because you changed your menu items structure after the canonical URL were filled.
And since you had the "force canonical URLs on listings" setting activated, it would use these invalid URLs on the listings. With that option turned off, it will dynamically generate the URL to the product page and thus the links will work.
Supposing that my diagnostic is correct, I would recommend to empty the "canonical URL" settings of your products, or fill it with the new valid URL of the product page.
Otherwise, it will negatively affect your SEO rankings on search engines as they rely on the canonical URL to index your pages.

The following user(s) said Thank You: nousername

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

Time to create page: 0.055 seconds
Powered by Kunena Forum