Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Although shopify's robots.txt blocks the index of collection pages with "?sort_by=" by default, there are still a lot of missing pages. Google search console reminds me that there are tens of thousands of collection pages with "?sort_by=" Blocked by robots, but indexed,
So how to remove index for collection pages with "?sort_by="
{% if template contains "search" or template contains "cart" or template contains "checkout" or template contains "account" %}
<meta name="robots" content="noindex" />
{% endif %}
This doesn't help me exclude collection pages with "?sort_by=" to index
I want to delete the index with "?sort_by=" in the collection page, although the robots.txt file is blocked, it is still indexed, so how to solve it through "noindex"
Liquid doesn't seem to be able to determine which pages have "?sort_by="
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey 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, 2025