SEO Problem - collections creating duplicate content

Kafferaventech
New Member
1 0 0

Problem no1

We have product pages with URLs created as follows:

https://kafferaven.se/products/abakundakawa
https://kafferaven.se/products/espresso-a-adventure

However, "Collection" pages additionally create unique URLs based on each collection name, ie.

https://kafferaven.se/collections/single-estate-coffee/products/abakundakawa
https://kafferaven.se/collections/espresso/products/espresso-a-adventure

Is there a way to prevent Collection pages from creating new URLs based on each category? Ideally, we want to keep basic product slug everywhere /products/xxxxxxxx

Problem no2

How can we noindex/nofollow choosen "Collection" pages, which are just placeholders for products?

Problem no3
How to remove URL from the menu, so we can still hoover and open the dropdown list, however without having a link to main category page?

0 Likes
gina-gregory
Shopify Expert
669 39 146

Problem no1
This is not an SEO issue because your theme's source code include a canonical URL tag that let's search engines know the /collections/products/x URL version is the same as the /products/x version.

Problem no2
You can add a special metafield to each of these collections that will 1) remove it from Shopify's sitemap.xml 2) add a 'noindex' meta tag. More info here: https://shopify.dev/tutorials/manage-seo-data-with-admin-api#hide-a-resource-from-search-engines-and... You'll need a metafield editor app. There are some free ones in the app store.

Problem no3
Replace the link to the collection with '#'. So, clear out the current link, type in '#', click it in the small popup that appears.

0 Likes
Propelguru
Excursionist
172 0 11

It is considered one of the most common SEO issues. Here are few measures to be followed to avoid the problem: 

Taking an example of selling shirts and sort them by their sleeve length using tags, you will get four indexable pages that will be showing the same content and information that are on the main collection page. So, There a few solutions to this issue:

  • If you do not want the tag pages crawled by Google, “de-index” it by editing the liquid.theme file and insert the following code before the closing head tag </head>.

{% if template contains 'collection' and current_tags %}

<meta name="robots" content="noindex" />

<link rel="canonical" href="{{ shop.url }}{{ collection.url }}" />

{% else %}

<link rel="canonical" href="{{ canonical_url }}" />

{% endif %}

  • Adding to it the easiest way to be able to fully optimize tag pages for SEO value would be creating collections of the tags so you'd be able to customize page titles, meta descriptions, URLs, content, and more.