Disable search engines from indexing a specific category
This tip is mainly for SEO purposes, possibly to avoid duplicate content or similar.
Disallow search engines from indexing posts in a certain category by applying this before the closing tag in header.php.
Obviously change the category number (’1′) to the category you want to disable from being indexed.
<?php if ( is_category(’1′) || in_category(’1′) ) {
echo ‘<meta name=”robots” content=”noindex”>’;
}
WordPress support
Wordpress Themes & plugins
WordPress Books
- No Business Like E-Business: The Spectacularly Simple Secrets Behind How You Can Create A Web Site And Make Money With It
- Online Marketing for Authors
- Zombie High
- Smashing HTML 5 (Smashing Magazine Book Series) Reviews
- Pro Blogging Blueprint: Step By Step Blueprint To Blogging Riches!
- Professional Mobile Web Development with WordPress, Joomla! and Drupal (Wrox Programmer to Programmer)
- WordPress Bible
- WordPress Video Training CD Easy to Follow (A practical way to master WordPress)
- Building a WordPress Blog People Want to Read: Self-Publish Yourself
- Pro Blogging Blueprint – Step By Step Blueprint To Blogging Riches!
- Blog Management, Post to 20 blogs & 10 Social media sites at once For Free
- 6 Building Blocks For Crafting A Perfect Press Release
- WordPress 2.7 Complete
- WordPress 3 Complete
- Twitter Traffic Swarm








