VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: maestroc on March 20, 2020, 17:57:23 PM

Title: Make VM canonical URLs match the Joomla SEF url?
Post by: maestroc on March 20, 2020, 17:57:23 PM
We are having a discussion/debate on whether this is something to be concerned about and/or if there is a way to fix it. On the following page:

https://xyz.com/freshwater-reels-2/spinning-reels

it has this canonical tag:

<link href="https://xyz.com/freshwater-reels-2/spinning-reels/view/category/virtuemart_category_id/19" rel="canonical" />

These canonical tags that do not match the SEF URL of the page and we want Google, etc. to index the SEF URL, not the non-sef VM one on the pages that appear in our menus.  We are concerned that there's a good chance that Google is seeing these two URLs (the SEF URL plus the canonical VM URL) as two different pages and considering that as duplicate content since it's the same page.  Is it possible to adjust the canonical tag in VM to match the navigational URL in Joomla?

As a second question, should this even be a concern?
Title: Re: Make VM canonical URLs match the Joomla SEF url?
Post by: Studio 42 on March 20, 2020, 21:23:41 PM
Why you have such a canonical link ?
Do you disabled SEF inside VM config ?
Vm never write such SEF url by default !