<?php if(is_single() || is_page() || is_home()) { ?>
<meta name="robots" content="all" />
<?php } else { ?>
<meta name="googlebot" content="noindex,noarchive,follow,noodp" />
<meta name="robots" content="noindex,noarchive,follow" />
<meta name="msnbot" content="noindex,noarchive,follow" />
<?php }?>

You can use the above code in the Header.php file in wordpress template. This will create automatic seo friendly meta name. WordPress content is generated dynamically, this tells the search engines which pages should be in, and which should be out, based on the type of page. So, basically, if this is an post page, another single page, or the home page then this code will allow to index the page; otherwise will tell them not to index or archive the page but to follow any links.

Some Other Related articles on this topic : http://markwilson.co.uk/blog , http://www.askapache.com/

Popularity: 43% [?]