FROM CACHE - en_header

Make tags non conical

Pooperpotamus
Tourist
7 0 14

Greetings.

i have a problem with duplicate content on my website.

I have a collection:

https://ydale.dk/collections/vedhaeng-af-solv
Which includes products with tags. now if a customer presses the tag "Sterling Sølv" he will be led to this URL
https://ydale.dk/collections/vedhaeng-af-solv/sterling-solv
which is the same collection, but only with products that have the tag "Sterling Sølv"

HOWEVER. Google think this is a new site, which creates "Duplicate Content" across my website.

I have looked but cannot find a solution for this problem 😞

Hope someone can help. i suspect the solution is something similar to this problem (which i have fixed):
https://www.soardigital.co.uk/common-shopify-seo-issues-how-to-fix-them (first mention)

This solution does not help the "Tag" collections though, only duplicate products.

Replies 2 (2)
cl22
Excursionist
35 5 9

The best way is to set Product Tags to “noindex, follow”.

 

Essentially, you are informing  Google not to add this page to their index (search results), but still to follow links on the page.

 

You can add the following code snippet to your theme.liquid template file:

 

{% if template contains 'collection' and current_tags %} <meta name="robots" content="noindex, follow" /> {% endif %}

 

By doing that, you set all product tag pages to noindex, so Google shouldn’t pick up those product tags pages.

Dirk
Shopify Staff
Shopify Staff
1681 204 374

Hey, @Pooperpotamus 

 

To add to what @cl22 recommended: check out our best practices guide on canonical URLs to gain a better understanding of how Shopify handles these sorts of URLs by default and what you can do going forward as best practices.

 

If there is anything else I can help you with, please let me know.

Dirk | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog