Implementing noindex

There are two ways to implement noindex: as a <meta> tag and as an HTTP response header. They have the same effect; choose the method that is more convenient for your site and appropriate for the content type. Specifying the noindex rule in the robots.txt file is not supported by Google.

You can also combine the noindex rule with other rules that control indexing. For example, you can join a nofollow hint with a noindex rule: <meta name="robots" content="noindex, nofollow" />.

To prevent all search engines that support the noindex rule from indexing a page on your site, place the following <meta> tag into the <head> section of your page:

<meta name="robots" content="no invites noindex"

Comments