How to Stop Indexing of Labels & Archives in Blogger


Noindex Labels and Archives in Blogger

In Blogger, Google indexes the Archives and Labels pages in search results which creates a duplicate content issue. Google takes strict action against duplicate content i.e if you have more than one URL pointing to a same page.

So, it is advised to no-index your Blogger Labels and Archives pages so your blog won’t get penalized by the search engine.

So, lets do this one by one. In this Blogger tutorial, I will show you how to prevent duplicate content issue by telling search engine not to index archive pages and label pages. Let’s proceed.

How to Avoid indexing of Archive pages in Blogger

To noindex Archive pages in Blogger, you have to add a 3 line of code to your Blogger template inside the <head> section. Follow the steps below:
  • Go to your Blogger dashboard and select your blog.
  • At the left side, Click Theme > Edit HTML.
  • Find the <head> tag. Place your mouse cursor anywhere in the code, and press Ctrl+F and search <head>.
  • Just below the <head> tag, paste the below code.

<b:if cond=’data:blog.pageType == &quot;archive&quot;’>
<meta content=’noindex,noarchive’ name=’robots’/>

  • Click Save theme. Press Hide warning before saving the theme.

The above code will tell the search engine to stop indexing Archive pages. Your already indexed archives pages will disappear from the search results after sometime. It could take about 2 months.

How to Avoid indexing of Labels in Blogger

  • Go to your Blogger dashboard.
  • At the left side, Click Settings > Search Preferences.


Blogger tutorial - HowToArticle


  • Scroll down till you find Crawlers and indexing section.
  • Under Custom robots.txt, enable it if disabled. Click Edit.
  • Add the below code.

User-agent: *
Disallow: /search/labels/ Allow: /

no index labels in Blogger

That’s it. This will tell search engine to exclude crawling and indexing labels pages of your blog. The robots.txt file is an important file for every blog and you should add custom robots.txt file.

If you haven’t added one, you can do so by first creating a sitemap for your blogger blog and then add it to robots.txt file, learn how to do it here.


8 Responses

  1. preweb posts

    April 14, 2018 5:59 pm

    Blogs are not just for socializing with others but it can also give us useful information. like this just like me I'am a new blogger and this article gave me lots of ideas on how to start blogging to a site or posts.

  2. Ajit Vidysagar Karuvinkal

    October 13, 2019 3:40 am

    Hey I am getting the error notification as “Error parsing XML, line 5, column 12: Open quote is expected for attribute “cond” associated with an element type “b:if”” while saving please help

    • digember

      October 29, 2019 12:04 pm

      Make sure you have pasted the code exactly before the element. The reason for the error could be you have missed the opening or closing tag of element.


Leave a Reply