Saturday, March 10, 2007

How to prevent a website from being found by search engines

How to prevent a website from being found by search engine? This is an unusual request, as the great majority of site owners will like their website to be found by search engine. However, there was a request to do that from my blog reader at Cannot see the toolbar in the post editor window. What to do

Well, if you want to do that, the way to do it is to place a meta tag
<meta name="robots" content="noindex,nofollow" />
anywhere between the <head> and </head> tags in the template.

You will need to get to the template editor of course, and to do that, sign into Dashboard, and in the section for the blog concerned, click Layout (New Blogger template), click the TEMPLATE tab, then the EDIT HTML sub-tab, and you will be presented with the template editor window

For ease of explanation, just place the meta tag immediately after the <head> tag so that what you will see in the template will look like this

<meta name="robots" content="noindex,nofollow" />

For added measure, you may want any content removed from the Google search engine. You can make the request here: How can I remove content from Google's index? if you have access to the server (which blogspot users do not have) or you can try Remove your URL


  1. Hello Peter. thanks for the help;however, when i attempted to complete the task that you recommended i recieved this text..could you help me further...

    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: The element type "meta" must be terminated by the matching end-tag "".

  2. Hi One Cool Chick,

    I tested and you are right. I altered the meta tag from
    <meta name="robots" content="noindex,nofollow">


    <meta name="robots" content="noindex,nofollow" />

    and this time it was saved OK. This is because New Blogger is XHTML.

    Peter a.k.a. enviroman
    Enviroman Says

  3. Hi Peter Chen,

    Thanks for this helpful blog. I tried what you instructed One Cool Chick to do to prevent Google indexing. I found that after I entered the meta tag html you provided and saved the changes, the template returned showed two changes:

    It reversed the order of the name and contents portions of the meta tag. Contents was now first, name second.

    It changed double quotes to single quotes.

    And, if I have this meta data in my blog template and then ask Google to remove my url from their index, my request is denied.

  4. Hi Elrond,

    I believe the order of attribites in HTML tags has no effect. Regarding replacement of " with ' I believe this has to do with New Blogger using XHTML.

    Regarding why Google refused your request to remove the URL from the Index, I don't know the reason why.

    Peter (Blog*Star 2006 and 2007)
    Testing Blogger Beta (now New Blogger)

  5. I am not understanding those things you are telling me to do.


Find help, info, instructions, tips, tricks

Tip: Use search box below or this box, labels in the first right sidebar, archive, ctrl+F for this page or sitemap to find topics