How to prevent Google from indexing all your archive pages

6:35:00 PM |

To prevent Google from indexing all your archive pages,
follow these steps:
  1. From your Blogger dashboard, go to "Template") "Edit HTML"
  2. It is always recommended to backup your template before you make any changes in your code. click "Backup/Restore", then click "Download full template".
  3. Add the code below after the <head> tag.
<b:if cond='data:blog.pageType == &quot;archive&quot;'>
<meta content='noindex' name='robots'/>
</b:if>
To make sure that the tag is been added successfully on your pages, go to an archive page and open the source code. Check if you find the following code: 
<meta content='noindex' name='robots'/>