Canonical tag issues

Highlighted
New Member
2 0 0

Hello, 

I have an issue with my canonical tags and I would like to change it, but I don't know how. 

It seems the canonical which has been chosen does not appear to be on the user journey. As an example, when selecting a product on the Oolong Tea page, users and search engines are directed to:
https://tearepertoire.com/collections/oolong-tea/products/alishan-qing-xin-jade however, this page has a canonical tag https://tearepertoire.com/products/alishan-qing-xin-jade

Could somebody help me with this request? 


Thanks a lot, 

Pierre

0 Likes
Highlighted
Shopify Expert
553 39 116

It looks like it's already set correctly.

- When you navigate to a product from a collection page, the url contains the collection, so that's functioning properly.

- When you go to that url (with the collection in it), and view the source code, you can see that the canonical URL points to https://tearepertoire.com/products/alishan-qing-xin-jade, which is correct.

- When I search your product title, the first result in google was the /products/alishan-qing-xin-jade result, which is the canonical url as directed by the code, so that's correct as well.

Canonical url's are designed to prevent duplicate content penalties. So you can have multiple URL's for the same product, as long as they have the canonical tag dictating which one is the canonical URL (which your site is correctly doing). Looks good to me.

Founder of Speed Boostr (Shopify optimization and dev agency).
Creator of Theme Scientist (A/B testing app).
Creator of Order Automator (app that auto tags + fulfills orders, send emails).
Creator of Shopify Analyzer (free performance analysis tool).
I also build custom apps and automated solutions.
Enjoy the adventure!
0 Likes
Highlighted
New Member
2 0 0

Hi Joe,

Thank you for your answer, I actually didn't expain correctly. 

When you go to the website and follow the user's journey, you will go to the following path: 

- Tea Types

- Oolong Tea

- Alishan Qing Xin Jade

The link on the website is the following: https://tearepertoire.com/collections/oolong-tea/products/alishan-qing-xin-jade

This page is actually the prefered page is we would like to follow the user's path. 

I would like to replace the canonical page of  https://tearepertoire.com/products/alishan-qing-xin-jade by https://tearepertoire.com/collections/oolong-tea/products/alishan-qing-xin-jade

Do you think I am correct is changing this? How could I do it?

Thanks a lot in advance, your help is really appreciated! 

Pierre

0 Likes
Highlighted
Shopify Expert
553 39 116

I'm not sure if that's changeable, because I've only seen the {{ canonical_url }} variable, I don't know if we have access to the logic that produces that variable.

Also products are a part of multiple collections, so not sure how you would even decide programmatically what specific URL to use.

It's probably debatable which url structure is better for SEO, but my opinion is that you want to keep the shorter URL for your product page, and not cannablize your collection pages, here's my thinking:
- Shorter URL gives more weight to each of the keywords, so it's easier to rank for "alishan-qing-xin-jade" in the shorter version.
- If you have all products showing the a collection in the URL (Oolong in this case), now all those products are competing with each other for the "oolong" keyword, instead of your collection page getting that juice.

If your goal is to rank better for "oolong tea", you don't want a bunch of Oolong tea URL's, I think a better strategy is to dial in your Oolong tea collection page, add content, and build some links to it. Then let your product pages have a better chance at ranking for their individual product/content.

 

Founder of Speed Boostr (Shopify optimization and dev agency).
Creator of Theme Scientist (A/B testing app).
Creator of Order Automator (app that auto tags + fulfills orders, send emails).
Creator of Shopify Analyzer (free performance analysis tool).
I also build custom apps and automated solutions.
Enjoy the adventure!
0 Likes