Duplicate meta descriptions for one collection on multiple pages

Smeelah
Navigator
332 1 90

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:

Replies 7 (7)
Rockpapercopy
Shopify Expert
1236 61 364

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

sophiawils59
Excursionist
28 1 8

Hey @ 

Yuga-P
Tourist
19 0 1

Hello @ 

SimplyInspired
Tourist
4 0 5

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_K
Shopify Partner
440 45 118

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!

Send me a link to your store to niki@hey.com and I'll help you out.
For more info what I do, visit my agency website ecommercepot.com or my personal website nikikozak.me.
PrettyVintageBo
Tourist
3 0 1

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

absolutely brilliant 

b3n
Shopify Partner
3 0 1

please is there a way to now check the new descriptions created for each spaned page?