How to put noindex on a Shopify page

How to put noindex on a Shopify page

In this article we will see how to add noindex tag in Shopify quickly and easily. Putting in noindex the pages that we do not want to rank will help us improve the page rank of our website.

What is the noindex tag used for and when should it be used?

We may think that the normal thing with an online store is to want all products to show up in search results, but In each web page there will be URLs that we are not interested in being positioned in search engines, especially when you start to work on web SEO.

This may be because we are out of stock of a specific product or are no longer selling it, to resolve duplicate content issues … There can be multiple reasons, so it is essential to know how to add the noindex to the page which we are interested in removing from search results for having well optimized SEO of our website in Shopify.

To ensure that some pages are not indexed, this is done by implementing the noindex tag

in the robots.txt fileIt might sound a bit complicated, but once you know how to do it, it’s really quick and easy.

You can check your robots file by putting: This way you can check the file and see which pages are blocked by search engines. It is important to clarify that, even if a URL is placed in noindex, it is still accessible to Internet users, i.e. it only affects when search engines crawl the page.

How to put the noindex tag in an easy way

Before modifying code themes we recommend that you save your current settings, especially the first few times, this way you can go back to the starting point if an error occurs (after the message there will be no problem).

First we go to the Shopify admin panel of our website. Once inside, we select:

The subjects.


Modify the code.

In this section we can see all the code of the web, be careful what you touch in this part, once inside we will look for the theme.liquid folder.


Inside the tag, we’ll paste the following code:

{% if the descriptor contains ‘tu-página-to-excluir’%}

{% end if %}

Replace “your page to be excluded” by the identifier of the page in question. This code snippet will modify the robots.txt file indicating that the page you entered should not be indexed.

Finally, we give you to save for the changes to be applied and… Done! You now have your page in noindex and it will not appear in search results.

This way, you can de-index all the pages that are not SEO-relevant and only improve the ones that you are interested in positioning and that receive organic traffic.

Source link

Leave a Reply

%d bloggers like this: