Managing searchability

You can improve searchability for your products, pages, and blog posts by publishing them to your online store. You can also hide products, pages, and blog posts from search engines and sitemaps.

You can customize your search results with the Search & Discovery app from Shopify. The app provides a number of search features and settings that change the behavior of your online store search.

For more advanced customizations, you can edit your theme code to change the how search results are requested. Learn more about customizing at Shopify.dev.

Make products, pages, and blog posts searchable

Products, pages, and blog posts need be published on your online store to be returned in search results. In addition, resource types that are hidden from search engines aren't searchable.

To make products, pages, and blog posts visible on your online store, set the following settings:

List of visibility settings on products, pages, and blog posts.
Resource TypeVisibility settings
ProductPublish your product in the Online Store channel
Page Publish the page
Blog postSet the blog post to visible

Hide products, pages, and blog posts from search engines and sitemaps

You can hide specific product pages, blog posts, or pages to be hidden from search engines with the following methods:

Add a custom metafield in your Shopify admin

You can add a custom metafield to a product, page, or blog post in your Shopify admin and set the value to 1 to hide the product, page, or blog post from searches and sitemaps.

Steps:

  1. From your Shopify admin, go to Settings > Custom data.

  2. Under Metafields, select the eligible page type (product, page, or blog post) that you want to hide.

  3. Click or tap Add definition

  4. Set the following fields:

    • Set the Name to SEO Hidden.
    • Set Namespace and key to seo.hidden.
  5. Click or tap Select type and select Integer. Make sure that One value is selected.

  6. Navigate to the product, page, or blog post that you want to hide from search engines.

  7. Set the value of the SEO Hidden metafield to 1.

To make the product, page, or blog post visible to searches, delete the SEO Hidden metafield value.

Can’t find the answers you’re looking for? We’re here to help.