Skip to content
Published

Hiding Pages

Hiding Shopify Pages from Google, AI, and Shopify Catalog

Shopify documents three methods to hide a page from search engines1: (1) meta-robots conditions in theme.liquid; (2) the Unlisted product status, which hides a product from search, Shopify Catalog, the sitemap, collections, internal search, and product recommendations in one toggle; and (3) the custom seo.hidden metafield. For products specifically, Shopify recommends Unlisted because it also removes the product from collections and recommendations.

The three leaves below walk each method end to end — including the verbatim Shopify warning when the seo.hidden namespace is "already taken" by a third-party app.

The three Shopify-documented methods to hide a page

Shopify's Hiding a page from search engines doc names exactly three methods. Method 1: meta-robots conditions in theme.liquid (template-based or handle-based). Method 2: Unlisted product status — the per-product toggle that hides everywhere at once. Method 3: the seo.hidden custom metafield set to value 1. The doc lists Unlisted as the recommended method for products specifically, because Unlisted also removes the product from collections, internal search, and product recommendations — coverage the seo.hidden metafield does not give you.

The three methods are not interchangeable. Each one has a different blast radius. Unlisted is the strongest (search + Catalog + sitemap + collections + internal search + recommendations). The seo.hidden metafield is search engines + sitemap only. The theme.liquid method is the only one that scales across template types — useful when you want to noindex every search results page at once, or every page with a particular handle pattern.

MethodHides from searchRemoves from CatalogRemoves from sitemapRemoves from collectionsScope
Unlisted statusYesYesYesYesProducts only
seo.hidden metafieldYesYes (products)YesNoProducts, pages, blog posts
theme.liquid meta-robotsYesNo (does not change product status)NoNoBy template or handle

Unlisted product status — the single switch

From the verbatim Shopify doc: 'When you set a product as Unlisted, the product is hidden from internet search, Shopify Catalog, and your store's sitemap.' Shopify adds that Unlisted products also do not appear in collection pages, search results, or product recommendations. It is the most powerful per-product hide on the platform — and the most-recommended for products specifically.

The leaf at /shopify-seo/unlisted-product-status/ walks the toggle: where it lives in the product editor, how it interacts with direct-link traffic, and what happens to existing collection assignments. The honest scope: Unlisted is the right tool when you want a product accessible by direct URL only — gated launches, sample products, private B2B SKUs, retired products that still need a destination for old links.

The seo.hidden metafield

Set a custom metafield with namespace.key seo.hidden to value 1 on a product, page, or blog post to hide it from search engines and the sitemap. Unlike Unlisted, the seo.hidden metafield does not remove the product from collection pages, internal store search, or product recommendations. The shopfront still displays the resource; only the indexing layer hides it.

The leaf at /shopify-seo/seo-hidden-metafield/ walks the setup — Settings > Custom data > the resource type, Add definition, namespace.key seo.hidden, type Boolean (or single-line text accepting value 1). The metafield then appears on every resource of that type, and setting it to 1 on a specific resource hides it.

Meta-robots via theme.liquid

The theme.liquid file is rendered into the <head> on every storefront page. Shopify documents two meta-robots conditions for it: a template-based condition (which hides every page rendered by a given template type, e.g. internal search results) and a handle-based condition (which hides a single resource by handle). Both inject the standard <meta name='robots' content='noindex'> tag conditionally. Neither requires app installs or admin metafields — only theme code access.

The leaf at /shopify-seo/noindex-theme-liquid/ walks both snippets and where to paste them in the <head> of theme.liquid. Shopify provides the snippets verbatim.

liquid Template-based noindex (verbatim from Shopify Help)
 {% if template contains 'search' %}
<meta name="robots" content="noindex">
{% endif %} 
liquid Handle-based noindex (verbatim from Shopify Help)
 {% if handle contains 'page-handle-you-want-to-exclude' %}
<meta name="robots" content="noindex">
{% endif %} 

The template method is the right tool for repeated cases — every internal-search page, every gift-card page, every customer-account page. The handle method is the right tool for one-off cases — a single landing page used only as an email destination, a draft article that still needs a public preview URL.

Which method to use, when

For products: Unlisted, every time. Shopify says so verbatim, and Unlisted is the only method that removes the product from collections, recommendations, and internal search. For pages and blog posts: try seo.hidden first; if the namespace is taken, fall back to theme.liquid handle-based noindex. For entire template types — search results, customer accounts, gift cards — use theme.liquid template-based noindex. The default robots.txt already blocks /search, /cart, /checkout, and /admin, so you usually don't need to add anything for those.

The decision tree is short. The mistake most owners make: defaulting to theme.liquid noindex for products because it's the snippet they find first on a search. The product is then still in collection pages, still in internal search, still recommended on related-product slots. The right fix for products is Unlisted; theme.liquid is the right fix for templates.

What hiding does to Shopify Catalog

Shopify Catalog requirements explicitly exclude products with Unlisted status or that are hidden from search engines. Both the Unlisted toggle and the seo.hidden metafield therefore also remove the product from Catalog, which means the product disappears from ChatGPT shopping, Perplexity, Gemini, Copilot, and the Shop app at the same time. Hiding a product on Shopify in 2026 is no longer a Google decision — it's an everywhere decision. The theme.liquid meta-robots method, by contrast, does not change product status or the seo.hidden metafield, so technically the product remains Catalog-eligible — but it stops appearing in classical SEO.

That last asymmetry matters. Owners who want to hide a product from Google but keep it eligible for ChatGPT recommendations (a rare case — usually the goal is full hide or full show) have one option only: theme.liquid handle-based noindex. In practice, the right business decision in 2026 is symmetric: hide everywhere or show everywhere. Mixed states create more confusion than they solve.