How to avoid indexing some pages in shopify - urgent

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