After 2.5.0 update product links are messed up

  • Posts: 80
  • Thank you received: 8
10 years 1 month ago #207993

-- url of the page with the problem -- : luizink-werktuigen.nl
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.25
-- Browser(s) name and version -- : Chrome latest
-- Error-message(debug-mod must be tuned on) -- : n/a

Hi,

On my website, after the update to version 2.5.0, the url's of some products are a mess.
Examples:
Tuin en Park>Bosmaaiers>Echo Multifunctioneelsysteem
Url: luizink-werktuigen.nl/index.php?option=c...%3Bcategory_pathway=

Maaiers>Klepelmaaier>Zwenkarm klepelmaaier 125
Url: luizink-werktuigen.nl/component/hikashop...wenkarm-klepelmaaier

In the first example not only the url is messed op but a page is shown with all categories...

In the second example the url is not as it should be. Neither is the breadcrumb.

A correct url/breadcrumb is shown here:
Maaiers>Klepelmaaier>Zwenkarm Klepelmaaier 145
url: luizink-werktuigen.nl/maaiers/klepelmaai...lmaaier-zwenkarm-145
breadcrumb: Start - Maaiers - Klepelmaaier - Zwenkarm Klepelmaaier 145

Fyi: we did not change anything in the configuration. Only did the upgrade from 2.4.0 to 2.5.0.

Regards, Benny.

Attachments:

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

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
10 years 1 month ago #208018

Hi,

This looks like a problem with the canonical URLs of your products which are not correct together with the "force canonical URL on listings" option activated in the HikaShop configuration.

So two solutions:
1. You could turn off that option of the HikaShop configuration. That way, the canonical URL won't be used on the listings to access the product page but recalculated each time.
2. You could clear off the canonical URL of all your products with a mass action configured like this take.ms/wHjUJ via the menu System>Mass actions.

The upgrade from the 2.4.0 shouldn't have an influence on the issue.

The following user(s) said Thank You: bp54

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

  • Posts: 80
  • Thank you received: 8
10 years 1 month ago #208031

Thanks Nicolas,

Your first solution (turn off canonical url) did the trick. Any idea how this suddenly gave problems as we did not change the configuration?

Regards, Benny.

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

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
10 years 1 month ago #208034

If you were updating from an older version of HikaShop, I would have told you that it is normal as before that "force canonical URL on listings" option didn't exist and since a few versions is it present and activated by default. So if you had wrong canonical URLs on your products it would create that problem when upgrading. But from the 2.4.0 to the 2.5.0, I don't see why it would happen.

The first solution is simple, but I would rather recommend fixing the canonical URL setting of your products with a valid URL. Not only the URLs will still work, but it will help for your website SEO.

The following user(s) said Thank You: bp54

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

  • Posts: 80
  • Thank you received: 8
10 years 1 month ago #208197

Hi Nicolas,

Thanks again. I removed all the canonical url's via a mass action and changed the SEF configuration as in the attached screenshot.
Would you please be so kind to confirm that this is a good/valid configuration.
We do have products that are accessible via the main menu and the same products also via the sub menu. What I see is that when one product in a certain submenu is once accessed via the main menu, the canonical url/breadcrumb points via this main menu path.
Because I prefer that the breadcrumb is always via the sub-menu I had to access one product in each sub menu once. That seems to work but is there another solution or configuration for this?

Regards, Benny

Attachments:

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

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
10 years 1 month ago #208229

Hi,

I don't speak your language but what you did looks ok.
Note that you don't need to access each product page to have the canonical URL generated automatically.
Just accessing the listing of products will be enough.

The following user(s) said Thank You: bp54

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

Time to create page: 0.078 seconds
Powered by Kunena Forum