Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello, I want to add a Noindex tag to our URLs that have parameters or a question mark in them but I can't find a solution. I tried the following code but it doesn't work:
{% if template.name == "collection" and current_tags %}
<meta name="robots" content="noindex,nofollow" />
{% endif %}
Basically what's happening is that Google is indexing thousands of URLs for collections with filters (e.g. https://www.allcam.nl/collections/dashcams?filter.p.m.custom.touchscreen=0&filter.p.m.custom.wifi=0&...). The URLs have correctly pointed canonical URLs but the pages are blocked by Robots.txt which is why Google isn't crawling or loading the pages and therefore not seeing the canonical URL (I think?). I surely can't be the only one with this problem?
Thanks for any help.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025