• Home
  • Get help
  • Ask a question
Last post 5 hours 11 min ago
Posts last week 81
Average response time last week 44 min
All time posts 70348
All time tickets 10857
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#8640 – How to set canonical page for shop with same product in different categories

Posted in ‘4SEO’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Saturday, 02 April 2022 20:13 UTC
oesch-web-gmail-com

Hi, 
I may have misunderstood how canonical works (shop site with products in several categories).
The pictue below shows how i expect it:

 

But on some Sites it looks like this, after setting my self one page to be canonical, with component com_phocacrt:

 

I expect a cross and not a good sign when i set to "Nein"?
Or will it be set automatical after a while?

What really hapens if i leave all to "Automatisch"? As i detected, no site has set canonical, or do i have to wait till the canonical site is detected from the component 4SEO?

Best regards Walter

Saturday, 02 April 2022 20:18 UTC
oesch-web-gmail-com

I saw the images where not sent, so here are they:

Monday, 04 April 2022 10:06 UTC
wb_weeblr

Hi

(shop site with products in several categories).

Isn't phocart not setting these canonical already? As usual, please make sure to always provide full and real links.

I may have misunderstood how canonical works 

The "Automatisch" part in the middle tells you what 4SEO think is the canonical status of that  page. If a check mark, 4SEO thinks this page is canonical. If it has  X, it means 4SEO thinks that page is a duplicate.

By clicking Ja or Nein, you can manually override what 4SEO thinks and add or remove a canonical.

In this case:

You have not changed anything because your manual choices are the same as the automatic ones.

In this case:

- the two top lines: 4SEO thinks the page is canonical but you told it that they are duplicates.

- The 3rd line: you did not change anything: you said page is canonical, and 4SEO also thinks it's canonical

- last line: 4SEO thinks the page is canonical, but you changed it to be a duplicate.

What really hapens if i leave all to "Automatisch"?

With default settings:

- when Automatisch = check mark, nothing will happen

when Automatisch = X, a rel=canonical link to the canonical page will be added to that page.

As i detected, no site has set canonical

For canonical pages, that's normal. For duplicates, it may depend on caching for instance. The addition of canonical should be pretty quick, especially if you manually reload the page.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 

 

 
Friday, 08 April 2022 07:38 UTC
oesch-web-gmail-com

Hi,
I can definitive not set the canonical page in a correct way in the backend.
In most cases if a product in phocacart has more than one categorie, i expect all have set canonical link to the same categorie, but only the product-link has set rel=canonical to himself. 
All other have not set any rel=canonical. See Example in attachement.

I have made the settings in the backend my self as shon in the image in the attachement.

Friday, 08 April 2022 09:47 UTC
wb_weeblr

Hi

I repeat my first and most important question:

(shop site with products in several categories).

Isn't phocart not setting these canonical already? As usual, please make sure to always provide full and real links.

I cannot provide support without full and real links to the site. These canonical should be set by PhocaCart. I have to look at one product where this problem occurs so that I can check what Phoca is doing.

So please provide me with two full and real links:

- one link to one product in its main category

- one link to the same product in a secondary category

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 
Friday, 08 April 2022 09:55 UTC
oesch-web-gmail-com

Hi,
Hier the requested links:
https://[redacted].ch/shop/neu-im-clkv-shop/das-kommende-reich-gottes-band-1 is set as rel=canonical
https://[redacted].ch/shop/cmv-hagedorn/das-kommende-reich-gottes-band-1 this link should have canonical to the first link, but has no canonical at all.

Unforunatly phocacart does not handle canonical tags. 

Thanks, W.Oesch

Friday, 08 April 2022 10:03 UTC
wb_weeblr

Hi

https://[redacted].ch/shop/neu-im-clkv-shop/das-kommende-reich-gottes-band-1 is set as rel=canonical

https://[redacted].ch/shop/cmv-hagedorn/das-kommende-reich-gottes-band-1 this link should have canonical to the first link, but has no canonical at all.

This should be the result of your manual settings in the admin, right? And also whether you enabled "Insert canonical link to self" under Pages | Pages settings in 4SEO.

Unforunatly phocacart does not handle canonical tags. 

That's a pity, all decent carts handle canonicals, even Virtuemart does that. Have you spoken with them? it might be an option, or something they can add. It's a very basic feature for any e-commerce product.

4SEO won't be able to do that automatically without adding support for PhocaCart, which is not something I can work on at this time unfortunately. It's not really complicated but it does need time and an akeeba backup of a site with the problem to test.

Again, I'd first try to talk to PhocaCart and see whether they can provide a solution quickly.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Friday, 08 April 2022 10:13 UTC
oesch-web-gmail-com

I have allready post this problem to phoca forum, but there is no chance to have this solved soon, i think thei are havy occupied to adjust all products to Joomla 4. May be i will modify my self. I think i can add a field in the admin area to set the canonical url and add to the db.  Then the biggest problem: i have to find out, how to set the canonical in the generated html site.

Friday, 08 April 2022 11:45 UTC
oesch-web-gmail-com

I just got the message from phoca forum that thei would add this to phoca cart - so there is no need from your site.

Friday, 08 April 2022 12:26 UTC
oesch-web-gmail-com

Sorry, the last message was not posted from the maintainers of phoca cart, so is still open.

Friday, 08 April 2022 13:18 UTC
wb_weeblr

Hi

Well it means at this stage ite means the situation is the same here. 4SEO does not have direct support for Phoca, which is required to achieve this (ie to detect duplicates). It will certainly be added at some point but definitely not in the immediate future.

I would suggest trying to get this from Phoca, it's very basic SEO, no decent e-commerce extension can pretend be SEO- friendly and not handle products in multiple categories, there's something wrong here.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Friday, 08 April 2022 13:22 UTC
oesch-web-gmail-com

OK, i understand. So i can set canonical to an other site on frontend?

Friday, 08 April 2022 13:29 UTC
wb_weeblr

Hi

So i can set canonical to an other site on frontend?

I'm not 100% sure I understand your question but you can set canonical to any site. And you can manually set canonical for any page, from the 4SEO admin or from the 4SEO frontend.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Friday, 08 April 2022 13:38 UTC
oesch-web-gmail-com

OK, i have seen it when i click on the item, then is possible. A bit more work than just in the overview. 

Dank you, then is closed.

Friday, 08 April 2022 13:39 UTC
wb_weeblr

Hi

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.