Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
we need to noindex pages which contain a specific phrase in the url.
{% if url contains 'page=' %} <meta name="robots" content="noindex"> {% endif %}
{% if url contains 'login_to_shop' %} <meta name="robots" content="noindex"> {% endif %}
i know that shopify creates canonicals for the 'page=' pages directing to the main (non-paginated) url.
however, per google search results and google search console, many of our paginated pages are being indexed causing possible duplicate pages to be indexed.
we have tried "if request.path contains"
we've tried "if page.url contains"
sample url:
https://www.finishlinewheels.com/collections/honda-factory-wheels?page=3
even with the canonical these are still getting indexed.
thanks for your help, will give good review to accepted.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025