How to hide a page on your Shopify store from search engine results

Adding a “noindex” tag to the page hides it from search engines, while leaving it public and available for visitors to access. You can add this tab into the <head> section of your store’s theme.liquid layout file. You need to include some code to noindex particular pages.

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, and then click Actions > Edit code.
  3. Click the theme.liquid layout file.
  4. To exclude a specific page, paste the following code in the <head> section. Depending on the type of page, you will need a little editing code.
    Search page:

    A specific page:

    Make sure that you replace page-handle-you-want-to-exclude with the correct page handle.
  5. Click Save.

You may also like...

1 Response

  1. Steve says:

    Hi, I see the same explanation on multiple websites, but nobody explains what the correct syntax is when you want to exclude two or more pages. Or where to put this code in the section (before or after the meta-tags)? Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *