Shopify add robots noindex tag to page: Solved

So you would like to add name=”robots” content=”noindex, follow” to a page on your shopify site? Well luckily for you this can be done in about three really really easy steps.
Hopefully this short work through will help you with your needs.

Step 1: Shopify add robots noindex tag to page – Specify your page title

Login to your shopify web site and go to “Pages”. There either click on the page you are trying to edit, or create a new one. On the edit page enter in your page title. If the page has already been created copy your title, or write it down for later use.

Step 2: Shopify add robots noindex tag to page – Edit your theme

Now step one done go to “Themes > Template Editor”. In your template editor you are looking for the the asset that is in charge of your whole page, mainly your header and footer. This “main template” should be located under “Layouts” which can be found on the left hand side of the page. In my case this main file is titled theme.liquid, this will probably be the same for you. Open up this asset. Copy and paste it to a local file for backup.

Step 3: Shopify add robots noindex tag to page – Add the code

Finally try to find located in your theme. Above place in the code below.

Remove “Page Title Here” and add in your title. *Make sure you keep the quotation marks


{% if page.title == "Page Title Here" %}

{% endif %}

If you would like this code to appear on two pages use the code below. Remove “Page Title Here” and add in your title. *Make sure you keep the quotation marks


{% if page.title == "Page Title Here" or page.title == "Page Title Here 2" %}

{% endif %}

If you would like this code to appear on three pages use the code below. Remove “Page Title Here” and add in your title. *Make sure you keep the quotation marks


{% if page.title == "Page Title Here" or page.title == "Page Title Here 2" or page.title == "Page Title Here 3"%}

{% endif %}

You can keep adding more and more pages, you get the idea… Let me know if you have any questions or issues.

Cheers.