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.
On this page
Customizing your search
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:
Resource Type | Visibility settings |
---|---|
Product | Publish your product in the Online Store channel | Page | Publish the page |
Blog post | Set 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:
From your Shopify admin, go to Settings > Custom data.
Under Metafields, select the eligible page type (product, page, or blog post) that you want to hide.
Click or tap Add definition
-
Set the following fields:
- Set the Name to SEO Hidden.
- Set Namespace and key to seo.hidden.
Click or tap Select type and select Integer. Make sure that One value is selected.
Navigate to the product, page, or blog post that you want to hide from search engines.
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.