How to avoid indexing some pages in shopify - urgent

Topic summary

A user needs to prevent specific pages on their Dawn theme Shopify store from being indexed by search engines, specifically a ‘customer-schedule-a-visit’ page.

Proposed Solutions:

  • Add noindex meta tag via theme.liquid: Multiple responders suggest editing the theme.liquid file in the Layout section, locating the </head> tag, and inserting conditional Liquid code that adds <meta name="robots" content="noindex, nofollow"> for specific page paths or templates

  • Change page visibility status: Set pages to ‘draft’ or ‘archived’ status in Shopify admin (Online Store → Pages) to prevent public access and indexing

  • Official documentation: Reference to Shopify’s official guide on hiding pages from search engines for step-by-step instructions

The discussion provides both code-based solutions (conditional noindex tags) and admin-level approaches (page status changes). The issue remains open pending the original poster’s implementation and confirmation.

Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

I’m using the Dawn theme for my website. I have created multiple pages, and I want to hide some of them, meaning I don’t want these pages to be indexed on the website. Please help me achieve this.

website: https://www.varthagaminternational.com/pages/customer-schedule-a-visit

Hello @Sivadarshan ,

Edit theme.liquid search for

now here just before to it add this code

{% if request.path contains 'customer-schedule-a-visit' %}
  
{% endif %}

Regards
Guleria

Hi there @Sivadarshan To effectively hide certain pages of yours the way you want to, you should follow the steps provided in this official Shopify guide here https://help.shopify.com/en/manual/promoting-marketing/seo/hide-a-page-from-search-engines

Hi @Sivadarshan ,

Add noindex Meta Tag to Specific Pages#### Step 1: Edit the Theme File1. Go to Online Store → Themes → Edit Code

  1. Open: theme.liquid (under Layout)

Step 2: Add Conditional noindex Meta Tag

Inside the section (before ), add:

{% if template == 'page.customer-schedule-a-visit' %}
  
{% endif %}

Hi @Sivadarshan

You can take two steps below to hide page URLs and make them not indexed by Google:

  1. Change the status of related page URLs from Shopify admin page from active to archived or draft.

  1. Add no-index code on your store theme code pages. You can check this guideline I attach below for reference.

https://developers.google.com/search/docs/crawling-indexing/block-indexing