Page 1 of 1

Preferred category for canonical links

Posted: 25 Jan 2024, 09:40
by AweBlack
Hello, I read a topic with request to add a preferred category for canonical link. This functionality is present in the latest versions, but how is it work? I chose preferred category, but URL link with product doesn't include rel="canonical" and in 4SEO component all links for products looks like the same ones. Maybe I'm doing something wrong? There is no description of this functionality in the documentation and I really don’t want to mark all the links manually for right SEO. Please, help me and I think not only me ))

Re: Preferred category for canonical links

Posted: 26 Jan 2024, 17:11
by Jan
Hi, in Phoca Cart, one product can have more categories and if there is a place where links to products are loaded from database and there are e.g. two links to one product possible, the preferred category will be used.

This info is used when selecting products but it can also be used for making cannonical links, but this depends on feature/extension which creates the links (for different reasons), so it can use this information to create right link. In Phoca Cart itself, there is no such feature, it just creates standard links set by Joomla menu links.

Jan

Re: Preferred category for canonical links

Posted: 29 Jan 2024, 11:09
by AweBlack
Thank you for the explanation. I was hoping that this function worked differently, I'll have to create a sitemap manually, but at least 4SEO sees duplicates.

Re: Preferred category for canonical links

Posted: 30 Jan 2024, 01:59
by Jan
OK