"No index" duplicate product pages

Shopify Expert
329 22 59

You know how Shopify has products at multiple URLs...
website.com/collections/tshirts/products/tshirt1
website.com/products/tshirt1

I understand the canonical tag lets search engines know which is the preferred URL. But is there also a liquid method to put a "no index" meta tag on the duplicate page? In this example, only index "website.com/products/tshirt1".

Something like...

{% if page.url != canonical url %}
<meta name="robots" content="noindex">
{% endif %}

Bonus question if you're into SEO. Do you think the canonical tag is good enough, or should the duplicate pages be no-indexed as well?

Cheers!

Founder of Speed Boostr (Shopify optimization and dev agency).
Creator of Order Automator (app that auto fulfills orders, adds tags, emails).
Creator of Shopify Analyzer (free performance analysis tool).
I also build custom apps and automated solutions.
Enjoy the adventure!
0 Likes
Highlighted
Shopify Partner
277 0 44

Hey Joe!

 

Between these two options the better would be canonical. With no index you just kill the page and it goes nowhere. All the value and weight (in terms of signals for Google) this page used to have, dissapear. However, with canonical you preserve this microsignal and weight from which the canonical version of the page benefits. It is a like a small bonus for the canonical page. 

For the future, my recommendation would be to ask developers for help and make sure that there is only one path (sequence of the pages) through which the user reaches the product page. It will definitely better for the page ranking and internal weight. 

Hope my answer helps)

 

Regards, Lena 

 

http://experts.shopify.com/promodo With any questions, mail me at ruletana2012@gmail.com
0 Likes
New Member
25 0 0

Canonical "website.com/collections/tshirts/products/tshirt1" to website.com/collections/tshirts/products/tshirt1

Try a quick site search using the search query site:website.com/..... on both URLs. You may find that Google is not indexing the longer URL as it recognises that it is part of a category and not a standalone product.

If both are being indexed, then as I say use the canonical tag.

Saying that, if you want the category based version to rank then swap the canocicals around.

Reserve the noindex for PPC landing pages.

If you need me to explain furhter let me know.

0 Likes
New Member
3 0 0

in my case both pages are getting indexed 

website.com/collections/tshirts/products/tshirt1
website.com/products/tshirt1

but i want to keep no index for this page website.com/collections/tshirts/products/tshirt1 can you help me

for placing no index to entire collections/collection-name/

0 Likes