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="
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024