Shopify: How to Hide a Product, Page or Post from Search?

Shopify: How to Hide a Product, Page or Post from Search?

If you want to hide a product, page or post (item) from search or seo, here are steps. Go to Custom Data page on store Add a new definition with name SEO Visibility Change Namespace and key as ‘seo.hidden’ Add Integer type with one value and validations (min: 0, max: 1). Activate Storefront access. Then go to item and set SEO Visibility metafield value as 1. Done ✅ After these steps, Shopify will add this code to setted product / page / post etc.

If you want to hide a product, page or post (item) from search or seo, here are steps.

  1. Go to Custom Data page on store
  2. Add a new definition with name SEO Visibility
  3. Change Namespace and key as ‘seo.hidden’
  4. Add Integer type with one value and validations (min: 0, max: 1).
  5. Activate Storefront access.
  6. Then go to item and set SEO Visibility metafield value as 1.
  7. Done ✅

After these steps, Shopify will add this code to setted product / page / post etc.

<meta name="robots" content="noindex,nofollow"/>

If a product / page / etc has this value, this item…

  • won’t be in robots.txt - so won’t be indexed by bots.
  • won’t showed in site search.
comments powered by Disqus