Wrong links from categories after translation

  • Posts: 60
  • Thank you received: 0
  • Hikamarket Multivendor Hikaserial Standard Hikashop Business
5 months 2 weeks ago #275310

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4

Hello. I'm using Hikashop + Falang.
All website is translated, but I have a problem with category links. Default language is English. When I choose other language than English, and going to the category menu, all its submenus are redirecting me to the English submenus, not on chosen language.
How can I fix it?

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

  • Posts: 60535
  • Thank you received: 8531
  • MODERATOR
5 months 2 weeks ago #275360

Hi,

That's probably because you cofnigured the canonical URL in the main product but not for each of the translations of the products.
Either leave the canonical URL empty for all your categories/products or make sure that you fill it for each translation.

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

  • Posts: 60
  • Thank you received: 0
  • Hikamarket Multivendor Hikaserial Standard Hikashop Business
4 months 4 weeks ago #276630

You're right.
In "Force canonical URLs on listings" it's set to "use canonical url and generate it if missing", but as I can see, urls somehow are not generated automatically. For English it works fine. Where could be the reason? I use the last Falang.

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

  • Posts: 60535
  • Thank you received: 8531
  • MODERATOR
4 months 3 weeks ago #276705

Hi,

That setting will generate the main canonical URL of the products but doesn't support generating translation canonical URLs.
You would have to either leave the canonical URL field empty in the main product and turn off that setting, or enter manually the canonical URLs for each language.

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

  • Posts: 60
  • Thank you received: 0
  • Hikamarket Multivendor Hikaserial Standard Hikashop Business
4 months 3 weeks ago #276711

Categories are ok, I have just around 100 of them. But what can I do with product canonical URL? We have around 10000 products and we add new products all the time... Should we really type all links manually?? Is there any way to avoid it?

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

  • Posts: 60535
  • Thank you received: 8531
  • MODERATOR
4 months 3 weeks ago #276725

Hi,

You can empty their canonical URLs all at once with a mass action (menu System>Mass actions) and then set the "force canonical URLS on listings" to only use the canonical URL when specified (for the categories).
That way, the products won't have a canonical URL, so no need to do anything manually for them.

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

Time to create page: 0.080 seconds
Powered by Kunena Forum