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...

Leave a Reply

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