Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey @smokemega2020
Here's a clean and effective solution:
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the file below <head> tag
{% if request.path contains '/collections/' and request.query.page %}
<meta name="robots" content="noindex">
{% endif %}
This will target any paginated collection page (like /collections/shoes?page=2) and tell Google not to index them.
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025