Duplicate meta descriptions SEO issue

Wojti
New Member
1 0 1

Hi everyone,

I`m working on SEO and have a problem with Duplicate meta descriptions in some collections. I tried to change meta description page by page, but if I changed meta description on one page that meta description replacing all of them in that collection. Does anyone know how to fix that? Thank you for your help!

Report from Semrush:

meta duplicate semrush.PNG

Reply 1 (1)
RichardNguyen
Shopify Partner
1280 178 854

Hi @Wojti, you can check out this answer from a Shopify Partner in another thread: 

------------------------------------------------------------------------------

This is intended behaviour from Shopify, it will create multiple links for each collection a product is in. This isn't a problem for duplicate content as the canonical link is always set to the original product (So, google is told where the original is and not to mark down for duplication).

However, if you do want to change this, it needs to be done in the theme's .liquid files that build the links to your products. This will vary theme to theme, but in "Supply" (the one I'm using) you can find the relevent line of code in the Snippets section, as "product-grid-item.liquid". We're looking for the link to the products, like this:

<a href="{{ product.url | within: current_collection }}" class="product-grid-item">

The important part is inside the brackets {{ }}. product.url is used to generate the url for the product, but this also has a 'within' filter applied to it. This within filter makes sure that the link that's generated includes a reference to the current collection. Seeing as you want the URLs all to point to /products/ you can just remove that filter. So that snippet would like like this:

<a href="{{ product.url }}" class="product-grid-item">

More info is available here: https://help.shopify.com/themes/liquid/filters/url-filters#within
------------------------------------------------------------------------------

As far as the SEO purposes, I believe it's to provide search engines with more context. For example:
website.com/products/cool-red-design VS website.com/collections/t-shirts/products/cool-red-design

The page=2 on the end of the blog URLs shouldn't be an issue.

To edit the SEO attributes on a product, page or blog post, scroll down until you see "Search engine listing preview" and click on "Edit website SEO"

 

--- 

Check out the whole conversation here: https://community.shopify.com/c/Shopify-Design/SEO-problem-Duplicate-Titles-and-Meta-Descriptions-fr... 

and Let me know if my answer is of any help 😄 

PageFly- Advanced Shopify Page Builder - Empowering 100.000+ active merchants.


Check our Evergreen List of Best Platforms To Sell Online.


Check our guide The Most Common Ecommerce Merchants Problems And How To Avoid Them


Learn how to boost your sales for Father's Day with PageFly