Hi
ive read that Shopify creates extra pages when products are tagged, which are low value to Google and affect the SEO. How do I stop these pages being indexed?
Issue: Shopify automatically generates pages when products are tagged, creating low-value content that may negatively impact SEO through indexing.
Solutions offered:
Stop creating tags entirely to prevent these pages from being generated
Add noindex meta tags to prevent search engines from indexing tag pages while still allowing them to be crawled
Implementation: Code snippets provided show how to:
Important: Back up the current theme before making any code changes to the template files.
Hi
ive read that Shopify creates extra pages when products are tagged, which are low value to Google and affect the SEO. How do I stop these pages being indexed?
One option is to stop creating tags, but if you want to continue creating tag pages then you can noindex them:
Example of how to noindex tags pages (back up your current theme before making changes)
{% if template contains 'collection' and current_tags %}
<meta name="robots" content="noindex,follow">
{% endif %}
For more specific control (like only certain tags):
{% if template contains 'collection' %}
{% if current_tags contains 'sale' or current_tags contains 'clearance' %}
<meta name="robots" content="noindex,follow">
{% endif %}
{% endif %}