NEWOur agents now make the SEO fixes on your site and check what worked →

How to Noindex a Page in Shopify

/

For a single page or blog post, use Shopify's built-in seo.hidden metafield: create it once in Settings > Metafields and metaobjects, then enter 1 on the page. For page types like tag pages or vendor pages, add one conditional robots meta tag to layout/theme.liquid. Do not also block those URLs in robots.txt, or Google will never see the noindex.

Free spreadsheet

Get the Shopify SEO Checklist

We email you the Shopify SEO checklist now, then 3 short emails on using it. Unsubscribe in one click. We never sell your data. Privacy

This is one of 67 checks in our free Shopify SEO checklist.

Which Method Should I Use?

What you want to hideMethodCode neededAlso hides from your store search?
One page (for example an old sale page)seo.hidden = 1NoYes
One blog postseo.hidden = 1NoYes
One productseo.hidden = 1, but think firstNoYes, shoppers cannot find it in search
All tag pagesLiquid in theme.liquidOne lineNo
Vendor and type pagesLiquid in theme.liquidOne lineNo
Blog tag pagesLiquid in theme.liquidOne lineNo
Cart, checkout, account, searchNothing, Shopify blocks themNon/a

Method 1: The seo.hidden Metafield (No Code)

Shopify documents seo.hidden as a way to hide a page, blog post or product from sitemaps, search engines and your online store search (Shopify).

Create the definition once:

  1. In the Shopify admin go to Settings > Metafields and metaobjects > Metafield definitions.
  2. Choose the resource type: Pages, Blog posts or Products.
  3. Click Add definition. Name it "Hide from search engines".
  4. In Namespace and key, type exactly seo.hidden.
  5. Set the type to Integer and save.

Use it on an item:

  1. Open the page (Online Store > Pages) or post (Content > Blog posts).
  2. Scroll to the Metafields section, find "Hide from search engines" and enter 1.
  3. Save. Then view the live page source and search for noindex to confirm, and check that the URL left /sitemap.xml.

To bring a page back, clear the value and request indexing in Search Console > URL inspection.

Why to think twice on products: a product with seo.hidden = 1 also disappears from your store's own search box. For a product you still sell, that costs sales. For a product you stopped selling, a 301 redirect to its closest replacement is usually better than hiding it.

Method 2: One Liquid Line for Whole Page Types

Shopify creates some page types you never asked for. These point their canonical at themselves (we checked a live store on October 14, 2026), so they can be indexed as thin pages.

  1. Online Store > Themes > three dots > Duplicate your live theme.
  2. On the copy: three dots > Edit code > layout/theme.liquid.
  3. Inside <head>, add the lines you need:

Collection tag pages (/collections/shoes/red):

Code
{% if template contains 'collection' and current_tags %}
  <meta name="robots" content="noindex, follow">
{% endif %}

Vendor and product type pages:

Code
{% if request.path contains '/collections/vendors' or request.path contains '/collections/types' %}
  <meta name="robots" content="noindex, follow">
{% endif %}

Blog tag pages (/blogs/news/tagged/tips):

Code
{% if template contains 'blog' and current_tags %}
  <meta name="robots" content="noindex, follow">
{% endif %}
  1. Preview a tag page on the copy, view source, confirm one robots tag. Publish.

follow lets Google keep following the product links on those pages, so your products still get found.

Before you noindex every tag: some tags match real searches, like "red running shoes". For those, a proper collection with its own title, meta and intro text will rank far better than either a tag page or nothing. Make the collection, then noindex the tag.

The Mistake: Noindex Plus robots.txt

Many Shopify guides say to noindex tag or vendor pages and also add Disallow lines for them in robots.txt.liquid. Do one or the other. Google's documentation is clear: if robots.txt blocks a page, Google cannot crawl it, so it never sees the noindex tag, and the URL can stay in results, just without a description (Google).

  • Want a URL out of Google: noindex, and let it be crawled.
  • Want Google to stop crawling a huge set of junk URLs, and you do not mind a few staying indexed for a while: robots.txt.

How to Check It Worked

  1. View source on the page and search for noindex. There should be exactly one robots tag.
  2. In Search Console, use URL inspection > Test live URL. It should say "Excluded by 'noindex' tag".
  3. After Google recrawls, the page moves to Indexing > Pages > "Excluded by 'noindex' tag". This can take days or weeks for pages Google visits rarely.

What Not to Noindex on Shopify

  • Collection-scoped product URLs (/collections/x/products/y): they already canonicalize to the product.
  • Paginated collections (?page=2): they help Google reach products deeper in the list.
  • Products you still sell, unless you have a strong reason.
  • Policy pages: Shopify's default robots.txt already blocks /policies/. That is fine and needs no action.

How to Use This with an AI Assistant

Connect SEOmatic at https://seomatic.ai/mcp and ask: "Use check_site on mystore.com and list any page that carries a noindex tag. After I connect Search Console, run site_audit and show me noindex pages that still get impressions." check_site is free and needs no sign-in. In Approval mode, nothing changes on your store until you approve it.

Let the Agents Do This on Your Shopify Store

SEOmatic's AI agents connect to Shopify, read your own Google Search Console data, and make the fixes from this checklist directly in your store:

  • Rewrite SEO titles and meta descriptions on products, collections, pages and blog posts
  • Add product schema and image alt text
  • Set up redirects for deleted or moved URLs

Each change can wait for your approval, one click undoes it, and the agents check it against how the rest of your site did. What they can change depends on your platform, and you see the full list before anything runs.

14-Day Trial for $1, credited to your first payment.

Frequently Asked Questions

digi-business-uk

Each local area page used to take us half a day to create and optimize.


With SEOmatic, we can create hundreds of pages in the same time, which helps our clients make the best use of their budget.


It's transformed how we deliver scalable SEO solutions.

will-hawkins

Will Hawkins

Marketing Director, Digi-Business UK

Give Your Site an SEO Team

Agents read your Search Console data, do the work, and prove what actually moved. You decide what ships.

  • You decide what ships
  • Verified live
  • One-click rollback

14-Day Trial for $1, credited to your first payment.