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
If you intend not to index one related page on the website, you can check this guideline from Google for reference. Please also note here that some search engines might interpret the noindex rule differently. As a result, your page might still appear in results from other search engines.
https://developers.google.com/search/docs/crawling-indexing/block-indexing
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025