VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: kiasati on July 11, 2018, 08:24:41 AM

Title: canonical problem in virtuemart
Post by: kiasati on July 11, 2018, 08:24:41 AM
Hi.

I have some products that are in multiple categories.
they have the same canonical URL, so no SEO problem.

my problem:
as I said products have multiple URLs. VirtueMart chooses one of them as canonical.
but I wanna choose which route to be as canonical.

How can I do this?
Title: Re: canonical problem in virtuemart
Post by: AH on July 11, 2018, 14:35:12 PM
In version .15 you can choose the canonical url for a product

This allows you to specify the canonical url for a product that is in multiple categories

Shame you did not include any information about versions etc that you use.
Title: Re: canonical problem in virtuemart
Post by: motobrat on July 25, 2020, 11:28:28 AM
Same problem with multicategory products but with urls.
For examle i have Product A in Base category -> Category A and Category B. In the settings of Product A set Force canonical category to Category A. But URL of this product from base category is to ategory B! Why and how can i fix this?
Title: Re: canonical problem in virtuemart
Post by: AH on July 26, 2020, 14:33:16 PM
Show us what the canonical URL is when you visit the product in category B and when you visit from category A
Title: Re: canonical problem in virtuemart
Post by: motobrat on July 28, 2020, 08:26:42 AM
The canonical URL is correct on the page. But the product URL is not correct from the parent category and does not match the canonical link.
This is the product URL: https://motobrat.com.ua/mototyuning/tun-suzuki/zadnie-dugi-mototsikla-suzuki-intruder-volusia-2c-c800-2c-c50-detail.html
The canonical URL is https://motobrat.com.ua/mototyuning/dugi/zadnie-dugi-mototsikla-suzuki-intruder-volusia-2c-c800-2c-c50-detail.html
Url must be the same like canonical URL.
Title: Re: canonical problem in virtuemart
Post by: pinochico on July 28, 2020, 13:33:53 PM
This post is duplicate from: http://forum.virtuemart.net/index.php?topic=145253.0;topicseen

Show admin setup for this product (category, canonical category).
If you not send, then it is only academic debate :)

And info if you use any SEF app.
Title: Re: canonical problem in virtuemart
Post by: motobrat on July 29, 2020, 06:48:12 AM
My answer with screenshot is here http://forum.virtuemart.net/index.php?topic=145253.0;topicseen