Want to know why you should Noindex WordPress Tags and Categories on your blog? Keeping a clean SEO structure is very important for every blogger. In this era of Google Panda, you ought to try so hard to maintain only relevant pages for your search results else you could become victim of this ranking algorithm. As for WordPress users, some of the web pages that should never appear on search results are Categories (Taxonomies) and Tags because they are less descriptive. Despite the possibility of making WordPress Tags & Categories descriptive by displaying some text on them, not every one has capacity to do this and besides, very few themes display category / tag descriptions.

One of my travel sites has categories indexed and ranking well because i took time to write good descriptions, build links and optimize them accordingly despite my theme not displaying the descriptions before. I always noindex Tags because they mess up search results and rankings as well. This way, i only have relevant web pages displayed on my website(s) search results with less scenarios of keyword conflicts. You can check your site results on Google using a query like: site:yoursite.com where yoursite.com is the address of your website and check if you have categories and tags indexed.

How do we make WordPress Tags and Categories Noindex?

The easiest way to Noindex WordPress Tags and Categories is by using a plugin. The other alternative to this requires some basic level of PHP programming but also works just fine. A conditional PHP code is inserted in the header template (header.php) of your WordPress theme to identify Categories and Tags then add nofollow attributes to them respectively. If you are new to modifying WordPress templates or rather have no knowledge of PHP then i suggest you use a plugin else you might just find a hard time removing the line of code inserted in your WordPress header template especially in scenarios which may require root access of your website.

1. Using WordPress SEO by Yoast Plugin

There are number of WordPress SEO plugins out there but i always recommend WordPress SEO by Yoast Plugin because of it’s simplicity, features, updates plus more. I use this plugin on all my blogs and i haven’t seen any bad in it except the limitations on it’s free account compared to the list of features packed in the pro package. Follow the steps below to Noindex WordPress Tags and Categories using WordPress SEO by Yoast Plugin.

Step One – Open Titles and Metas Page

noindex WordPress Tags and Categories

Step Two – Under Taxonomies Tab, Switch Meta Robots to Noindex

noindex WordPress Tags and Categories

2. Using Conditional PHP Statement

Like said previously, this method requires basic understand of PHP and WordPress. Simply copy the code below and insert it under the head tags ()of your WordPress theme header template (header.php). I assume you have no SEO plugin that can noindex categories and tags in place else the plugin might override this code and display it’s configurations.


<?php if( is_category() || is_tag() ) { ?>

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

<?php } ?>

The code above checks whether a web page is a category or rather a tag and if true, it goes on to display the meta robots tag with a noindex attribute. This code works just fine and will do the same job as any other WordPress SEO plugin though i often discourage using it especially for beginners. This method stores your changes on a theme implicating if you switched to another theme and forgot to add the same attributes then your SEO settings would change. Always try and use a plugin to get the work done.

Do you noindex WordPress categories and tags on your blog or rather leave them indexed? At Tutorial FAQ, categories and tags are noindexed because i find no value displaying them in search results. Meanwhile, which method / plugin do you use to noindex categories and tags on your blog? Please share with us below.