PREVENT SEARCH ENGINES FROM FINDING COLLECTIONS
To prevent search engines from finding specific collections on your Shopify store, you can use a custom metafield setup. This process involves creating a new metafield under the "Collections" section. Here's a step-by-step guide:
Access Custom Data: Start by logging into your Shopify admin panel. Navigate to the section where you can manage custom data for your store.
Create a New Metafield under Collections: In this section, look for the option to add a new metafield. You'll specifically want to do this under the "Collections" category, as this is where your product collections are managed.
Name the Metafield as 'SEO': When creating the metafield, you should name it 'SEO'. This name will help you identify the purpose of the metafield, which is to manage the visibility of your collections in search engine results.
Set the Namespace and Key: For the namespace and key, enter
seo.hidden
. This unique identifier will be used in your store's code to reference this specific metafield.Choose the Style Type as 'Integer': The style type of the metafield should be set as an 'Integer'. This means the values you input will be numerical.
Define the Values - '1' for Display, '2' for Not Display: When you input data into this metafield for each collection, use the integer '1' to indicate that the collection should be displayed in search engine results, and '2' to indicate that it should not be displayed.
Last updated