Blogspot / Blogger SEO: Avoid duplicate content by blocking archive page

To stop spam, Google and many other search engines impose a Duplicate content penalty.

Duplicate_content_penalty This might pull down search engine rankings. Blogger archive pages can pose a little problem . You can see on this image below that both archive page and post pages have the same content. You need to block it.


This is very simple actually. Just go to Blogger Dashboard –> Layout –> Edit HTML

Add this just after <head> tag.

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

This code instructs crawlers not to index archive pages.

I recently posted an article on about SEO tricks using Google Webmasters tool. You can check it out.

So lazy that he can’t even fill this column out.

  • Rohit Sane

    Its good to adjust the template files in Blogspot as we cannot edit the robots.txt Thanks for this one!

  • iphonedevelopment

    Really good technique for Avoid duplicate content by blocking archive page.


  • vitanclub


  • Roy Oon

    i will implement it too = )

  • Admin

    Now I had Implemented, Let's see what hapend…


  • Anshul

    Hi Suhas.. I read your post in SML. Wanted to know if i need to follow the steps you mentioned in Shoutmeloud also or just adding this code will take care of everything ?
    What about the comments page ?

  • @Anshul … just adding this code will take care of everything …

    Nowadays, my comments aren’t being indexed. I think google has taken care of it..

  • Aman

    Hey! Thanks for the code. I have put it on my blog. I have around forty archive pages on my blogspot blog. Will this block all the archive pages.

  • @Aman .. Yup

  • hi thank for sharing i am using this code on my blog

  • wasay

    Buddy its giving me an error, how to solve this…..

    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.XML error message: Open quote is expected for attribute “{1}” associated with an element type “cond”.

  • Hi wasay,

    It was because of the slanted quotes… Fixed it now.. Give it a try

  • wasay

    ok but one more thing i got to avoid duplicate content is by setting “archiving”
    to no archive(In blogger settings), what do you say about this……

  • It doesn’t really matter actually…

    If you set it to “no archive”.. there will be no archive pages to index….
    If you use this method, the archive pages will not be indexed… even if there are archive pages…

    either way, no archive pages will be indexed.

    I would go for the latter… because archive pages are sometimes useful….

  • Iam facing duplicate problems archive pages can make my ranking low in search engines.

  • Good Info !! I used that code in my other blog … Useful !


  • hello suhas, how ebout static page?

  • There is no need to block “static pages” as they are unique…

  • Anonymous

    No this code not work for me. Google still indexing my archive pages. So why is that?

  • Hi, Suhas .
    Thanks for information.I just added that in my blog and waiting to see result.
    lets see what happen.
    Can you tell me how I can improve alexa rank for my blog??

  • Alex Finch

    I cant believe that it was this simple. Man I really need to learn more about this industry. Thanks for the post and code Suhas.

  • Pingback: Blogger: Making widgets appear only on post pages or homepage or archive pages | Suhas Tech()

  • very nice post. i cant know about it.

    PHP Web Development Company Bangalore

  • lovisa alva

    Very informative article. thanks to sharing.

  • Anderson John

    What is Cross linking in SEO and what are the function of Cross linking?

© 2010 Suhas Tech. All rights reserved.
Proudly powered by Wordpress.