We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to avoid indexing some pages in shopify - urgent

How to avoid indexing some pages in shopify - urgent

Sivadarshan
Shopify Partner
406 2 90

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

Replies 4 (4)

Guleria
Shopify Partner
4299 825 1189

Hello @Sivadarshan ,

 

Edit theme.liquid search for </head> 

now here just before to it add this code

{% if request.path contains 'customer-schedule-a-visit' %}
  <meta name="robots" content="noindex, nofollow">
{% endif %}

 

Regards
Guleria

- Elevate Your Store with Expert Shopify Services. Email: guleriathakur43@gmail.com - Need a quick fix or a tailored customization? I’ve got you covered.
- Looking to enhance your pages? Try GEMPAGES- a powerful drag & drop page builder.
- Let’s make your store stand out. Get in touch today!
- My Apps: Productify Groups – Smart product grouping made easy.

Bundler-Manuel
Astronaut
1195 56 141

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 

Emmanuel
Please let me know if it works by marking it as a solution!
Bundler - Product Bundles app, a great bundle app for Shopify, with glowing user testimonials and a free plan.

oscprofessional
Shopify Partner
16407 2444 3196

Hi @Sivadarshan ,

Add noindex Meta Tag to Specific Pages

Step 1: Edit the Theme File

  1. Go to Online Store → Themes → Edit Code

  2. Open: theme.liquid (under Layout)

Step 2: Add Conditional noindex Meta Tag

Inside the <head> section (before </head>), add:

{% if template == 'page.customer-schedule-a-visit' %}
  <meta name="robots" content="noindex, nofollow">
{% endif %}
Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...

Jenny6
Excursionist
99 0 4

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.

Jenny6_0-1750241187512.png

Jenny6_1-1750241222240.png

2. 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