Skip to content
Mc Starters Main Logo Circle
  • Home
  • Our Services
  • Download Templates
  • Tools
  • Guest Posts
  • Contact Us
Mc Starters Main Logo Circle

Home \ Shopify Tutorials \ How to hide a page from the search engines in Shopify

How to hide a page from the search engines in Shopify

Published By :Mudassar Shakeel March 26, 2022March 15, 2024 Shopify Tutorials, SEO
hide a page from the search engines shopify

A client asks me to hide a page from the search engines in shopify. I had done this with a custom robots meta tag. Today maybe you also want to hide a page from Google in the Shopify store.

Most users hide pages from search engines just because they don’t want to rank some pages such as thank you, private page, and landing page.

Learn how to add Alt text to images on Shopify?

What is Robots meta tag?

Robot meta tags are lines of code that tell crawlers how to crawl and index the content of web pages.

Hide a page from the search engines in shopify

You need to follow the below steps to hide a page from the search engines in Shopify.

Step 1: Login to shopify admin, go to Online Store > Themes.

Step 2: Find the theme you want to edit, and then click Actions > Edit code.

hide a page from the search engines in Shopify

Step 3: Click the theme.liquid layout file.

Shopify theme liquid layout file

Step 4: To exclude a specific page, paste the following code in the <head> section:

 
  {% if handle contains 'ayurveda-consultations-treatments' %}
<meta name="robots" content="noindex">
{% endif %}

Step 5: Make sure that you replace “ayurveda-consultations-treatments" with the correct page handle.

Url to Hide

Step 6: Click Save.

Facebook FacebookTwitter TwitterInstagram InstagramPinterest PinterestYouTube YouTube

Categories

© 2025 Mc Starters Blog

  • Guest Posts
  • HTML Sitemap
  • XML Sitemap
  • Affiliate Disclosure
×

This website uses cookies to ensure you get the best experience on our website.

Learn more
Scroll to top
  • Home
  • Our Services
  • Download Templates
  • Tools
  • Guest Posts
  • Contact Us
Facebook X Instagram YouTube Pinterest
Search