By the deindexpages.com editorial teamPublished Updated
Shopify does not give every page type a simple noindex checkbox, but it documents two supported techniques and one product-specific status. This article explains each, what they hide, and what they leave visible.
What Shopify documents
Shopify's help article on hiding a page from search engines covers pages, blog posts and products. It describes three approaches. Check the article for current wording, since Shopify updates it.
Approach
Applies to
Hides from search engines
Hides from sitemap
Hides from store search
noindex in theme.liquid
Pages, posts, products (by condition)
Yes
Not by itself
No, still in storefront search
seo.hidden metafield set to 1
Pages, blog posts, products
Yes
Yes
Yes
Unlisted product status
Products only
Yes
Yes
Yes
Method 1: noindex in theme.liquid
In your theme code, add a robots meta tag inside the <head> of theme.liquid, wrapped in a condition that identifies the page by its handle. Shopify's documentation shows this approach. A typical pattern looks like:
Use an exact match where you can, because a loose contains check may catch other handles. The page remains visible in your storefront search, which Shopify notes in its documentation. The same technique can be applied to exclude the search results template; see internal search pages. Duplicate your theme and test before publishing.
Duplicate the live theme as a backup.
Edit code and open layout/theme.liquid.
Add the conditional noindex tag within the head.
Save, open the page on the live storefront, and view source to confirm the tag appears only for the intended handle.
Method 2: the seo.hidden metafield
Shopify documents a metafield approach that hides an item from search engines, sitemaps and online store search:
In the admin, go to Settings, then Custom data, and create a metafield definition for the resource type (pages, blog posts or products).
Set the namespace and key to seo.hidden and the type to Integer, with a maximum value of 1.
Open the page, post or product and set the metafield value to 1. Save.
To make it visible again, clear the value and save.
If you see "Namespace and key are already taken", a third-party app is using seo.hidden, and you cannot edit it in the admin. Check your installed apps. Menu labels in the admin change over time, so follow Shopify's current help text.
Method 3: unlisted products
Setting a product to Unlisted hides it from internet search, sitemaps, collections, storefront search and recommendations. It remains reachable by direct URL. Shopify's documentation notes that if a product is both Unlisted and has seo.hidden set to 1, Unlisted takes priority, and that products hidden only by seo.hidden still appear in storefront collections, product recommendations and some sales channels.
When a product is gone for good
If a product is discontinued and has no successor, deleting it returns a 404. If a close replacement exists, create a URL redirect in Shopify (Online Store, then Navigation, then URL Redirects) from the old path to the new one. Redirect only to a relevant destination; redirecting everything to the home page can look like a soft 404. See 404 vs 410.
Collections, vendors and tag URLs
Shopify generates URLs for collections, product tags and vendors, which can create thin, overlapping pages. Shopify's help article above does not cover collections, so for those you need theme-level logic with the Liquid conditions, or a decision to keep them indexable. Review which filtered or tag-based collection URLs are in your sitemap and indexed. See thin and duplicate pages and parameter and faceted URLs.
robots.txt in Shopify
Shopify provides a default robots.txt that already blocks pages such as the cart, and you can customise it with a robots.txt.liquid template. Shopify says you do not need to edit it unless you have a specific reason. Remember that robots.txt does not deindex. See why robots.txt does not deindex. Blocking a page you want noindexed prevents Google from seeing your tag.
After the change
Check the page source for the robots tag or confirm the product is unlisted or hidden by metafield.
Confirm the URL is gone from sitemap.xml if you used the metafield or Unlisted. Shopify generates the sitemap automatically.
Inspect the URL in Search Console and request indexing. Shopify's help suggests the URL Inspection tool or submitting your sitemap.
Keep a short list of every product and page you have hidden, with the method used. Mixed methods (theme code for some, metafield for others) are easy to forget about.
Seasonal products can be set to Unlisted when out of season, then restored later, instead of being deleted. Deleting a product loses its URL history.
Apps that add SEO features may output their own robots tags. If you install one, view the page source again to confirm that only one directive is present.
Check the localized or market-specific versions of a page if you sell in several regions; make sure the rule applies to every URL variant that Shopify generates.
After a theme update, re-test the conditional noindex block, because theme updates can overwrite custom edits to theme.liquid.
Frequently asked questions
Does seo.hidden remove the page from my store search too?
Per Shopify's documentation it hides the item from sitemaps, search engines and online store search. A theme.liquid noindex alone leaves the page in storefront search.
Can I noindex a Shopify collection?
Shopify's help article does not cover collections. Use theme code with careful conditions, or leave useful collections indexable.
What is the difference between Unlisted and seo.hidden?
Unlisted hides a product from more places, including collections and recommendations. Unlisted takes priority when both are set.
Can I edit Shopify's sitemap?
Shopify generates it automatically. Use the metafield or Unlisted to keep items out of it.