Search code examples
htmlindexingmeta-tagsgooglebotnoindex

How to set noindex for Google only?


These days Google has this tag I can use to tell it not to index a page

<meta name="googlebot" content="noindex">

My question is do I need both the generic index and the Google noindex tags and does the order matter?

Suppose I want everyone else to index the page but Google, will setting both tags work:

<meta name="robots" content="index"/>
<meta name="googlebot" content="noindex">

Any ideas?


Solution

  • absolutely correct: Google's own documentation is referencing an exactly this possibility.