Dispatches For developers developers

The seo.hidden Metafield: Understanding Its Limitations and the Future of Unlisted Content in Shopify

5 min read

Updated November 19, 2026. The original version of this post predicted that Shopify would ship an UNLISTED product status. It did, in October 2025. This rewrite covers how it works now, when seo.hidden is still the right tool, and the gap that's left for metaobject pages, with a contribution from SDA member Matthew Crigger.

Sooner or later every Shopify build needs something that exists but isn't easy to find: an invite-only product, a warranty add-on, a free gift, a landing page for one campaign. For years the answer was the seo.hidden metafield, and for years it only did half the job.

Here's where things stand today: what seo.hidden does, what the Unlisted status fixed, and what you still have to build yourself.

What seo.hidden does

seo.hidden is a metafield that tells Shopify to keep a resource out of search engines. Per Shopify's SEO docs, setting it:

  1. Removes the resource from sitemap.xml, which also keeps it out of storefront search results.
  2. Adds noindex and nofollow robots meta tags to the resource's page.

It works on the resources that have SEO settings: products, collections, pages, blogs, and articles. The documented definition is:

  • Namespace: seo
  • Key: hidden
  • Type: number_integer
  • Value: 1
mutation {
  metafieldsSet(metafields: [
    {
      ownerId: "gid://shopify/Page/YOUR_PAGE_ID"
      namespace: "seo"
      key: "hidden"
      type: "number_integer"
      value: "1"
    }
  ]) {
    metafields { id namespace key value }
    userErrors { field message }
  }
}

Use the integer type. Earlier versions of this post (and plenty of tutorials) used boolean. Developers have reported in the community that the wrong type can leave a resource in the sitemap or skip the noindex tag, and that a script change can quietly create the metafield with a different type. Stick to number_integer with a value of 1, then view the page source and the sitemap to confirm both effects.

Where seo.hidden fell short

seo.hidden is about search engines, not about your own store. A product with seo.hidden set can still:

  • Show up in automated collections like "New Arrivals" or "All Products"
  • Get surfaced by the Product Recommendations API in "You may also like" blocks

That was the frustrating part. If you hid a staff-only product or a free gift from Google, you almost always wanted it hidden from your own storefront too. The workarounds were all custom code: filtering the metafield out in collection loops (which breaks pagination counts), replacing native recommendations, or keeping products out of automated collections with tag conditions.

The fix for products: Unlisted status

On October 21, 2025, Shopify shipped UNLISTED as a fourth ProductStatus, alongside ACTIVE, DRAFT, and ARCHIVED. According to the Unlisted products docs, an unlisted product:

  • Doesn't appear in collections, storefront search (including predictive search), or product recommendations
  • Is excluded from sitemap.xml and gets noindex,nofollow robots tags
  • Is hidden from all sales channels and Shopify Catalog
  • Still loads at its direct URL, and behaves like an active product in cart, checkout, and post-purchase

That's the "hidden but functional" behavior developers expected from seo.hidden all along, with no theme code. You can set it in the admin or through the API (version 2025-10 or later):

mutation {
  productUpdate(product: {
    id: "gid://shopify/Product/YOUR_PRODUCT_ID"
    status: UNLISTED
  }) {
    product { id status }
    userErrors { field message }
  }
}

Things to know before you switch

  • It's visibility, not access control. Anyone with the URL can view and buy the product. Handles are guessable, and links get shared. For gated pricing, use B2B catalogs or customer-account logic.
  • Direct references still render it. In Liquid and the Storefront API, an unlisted product comes back when it's requested by handle or ID, through all_products, or through a product_reference / variant_reference metafield. That's useful for add-ons, so long as you know it happens.
  • Older API versions report it as ACTIVE. Any app or integration on a version before 2025-10 will treat unlisted products as active. Check your ERP syncs, feed apps, and custom apps.
  • The Shop app isn't supported.
  • Theme editor support arrived in stages. Unlisted products became selectable in product and product_list settings in December 2025, and template previews in the theme editor followed in August 2026. If someone on your team remembers it "not working," it probably was a while ago.

The gap that's left: metaobject pages

Unlisted solved products. seo.hidden still covers pages, collections, blogs, and articles. But there's one resource with public URLs and no switch at all: metaobject entries published as web pages.

"There's no equivalent for metaobjects. When you use metaobject pages but want some of them suppressed, you have to simulate it."

Matthew Crigger, SDA member

Matthew's right, and it comes up more often now that metaobject pages power things like store locators, ingredient glossaries, designer profiles, and FAQ libraries. You turn on web pages for the whole definition, and every active entry gets a URL and a spot in the sitemap. There's no per-entry seo.hidden, and no Unlisted status for metaobjects. Developers have been asking for one in the Shopify developer community since 2024.

Your native options are blunt:

  • Set the entry to Draft. The page disappears entirely, which only helps if nobody needs the URL.
  • Turn off web pages for the definition. All entries lose their pages, not just the one.

Simulating it

Until Shopify adds a native option, here's the pattern we use:

  1. Add a field to the definition, for example a boolean called hide_from_search.
  2. Output a robots tag from the theme when it's set. In layout/theme.liquid, inside <head>:
    {%- if metaobject and metaobject.hide_from_search.value -%}
      <meta name="robots" content="noindex, nofollow">
    {%- endif -%}
    
  3. Filter it out of your own listings. Anywhere you loop over entries (a directory page, a section, a menu), skip the ones with the field set.

What this doesn't fix: the entry stays in sitemap.xml. Search engines will keep finding the URL and crawling it, and they only drop it once they see the noindex tag. It works, but it's slower and messier than seo.hidden. If the page truly must not be found, Draft is the only native guarantee.

Which one to use

You want to hide… Use Out of sitemap Out of your storefront
A product (gift, add-on, private sale) Unlisted status Yes Yes
A product that should stay in collections but not in Google seo.hidden Yes No
A page, collection, blog, or article seo.hidden Yes Stays wherever you link it
One metaobject entry's page Theme noindex + a field to filter on No Only where you filter it
Anything nobody should reach Draft Yes Yes (no page at all)

Migrating from seo.hidden

  1. Find what's hidden today. Query products where seo.hidden is set and note why each one is hidden.
  2. Move the "hide everywhere" ones to Unlisted with productUpdate. You can leave seo.hidden in place. It doesn't conflict, but it's redundant.
  3. Delete the custom code that filtered hidden products out of collections and recommendations, once nothing depends on it.
  4. Check every integration that reads product status, and move it to API version 2025-10 or later so it doesn't treat unlisted products as active.

Resources


Hiding metaobject pages a different way, or found an edge case with Unlisted? Tell us in the comments. Thanks to Matthew Crigger for the metaobject nudge.

Taylor Page

Taylor is a former social worker turned freelance web developer who helps Shopify merchants by extending their Shopify theme to either meet design or branding guidelines, or to build in functionality that can reduce or replace the relian...

Matthew Crigger

Matthew Crigger is a developer currently working as the development lead of Collars & Co, while also maintaining the role of alleged human. With over 20 years of general development experience, Matthew has been involved in the Shopify Pl...

Contents and sharing

Share this article

X LinkedIn

Filed under

Built by devs, for devs

Ship better with 184 other Shopify devs

A curated community of Shopify developers. Share what you know, learn from your peers, and build better together.

  • Alex Abbott
  • Axel Kee
  • Brenda Storer
  • Brendan Quigley
  • Colin Fetter
  • +179
How to join