Duplicate meta descriptions for one collection on multiple pages

Smeelah
Trailblazer
265 1 64

My latest SEO audit shows the 'high impact' issue of having duplicate meta descriptions. However, the issue is created  because a particular collection is a general and large one which spans 4 pages. Thus the duplicate descriptions. 

 

I'd really like some opinions on this. Should I remove the collection? Or is there a way to edit the descriptions to make them differ...I'm guessing not.

 

The urls are:

0 Likes
Rockpapercopy
Shopify Expert
1207 61 366

I would simply ignore the SEO tool suggestion - doesn't sound like a good one. Whatever you do, don't delete the whole collection.

Hey @ 

0 Likes
Yuga-P
Tourist
19 0 1

Hello @ 

0 Likes
SimplyInspired
Tourist
4 0 4

There is no way to put a different meta description on different pages of the same collection - that is exactly the problem the original poster is pointing out.

 

Niki_S
Explorer
65 5 14

Hi,

as far as I'm concerned, you can't write a unique and a completely different meta description for every page in a collection.

However, you can add a page number of the collection page into the meta description - in this way, the meta description will differ a bit. 

To do so, you need to add a piece of code in the template.

Go to theme.liquid and find this piece of code: 

 {%- if page_description -%}
    <meta name="description" content="{{ page_description | escape }}">
  {%- endif -%}

And change this piece of code to this code:  

{% if page_description %}
    <meta name="description" content="{{ page_description | escape }} {% if template contains 'collection' %} {% if current_page > 1 %} Page number {{ current_page }} {% endif %} {% endif %}" />
{% endif %}

 

This piece of code will secure that meta description for collection pages will contain "Page number x" (e.g. Page number 2, Page number 3). The first page will have the original meta description without any number.

Let me know if this works!

PrettyVintageBo
New Member
1 0 1

Worked for me.... literally been searching the internet all day for the answer!   fingers crossed

absolutely brilliant