Tag Archives: nofollow

Mini-tutorial: How to add noindex to category pages

This question was asked in the WordPress forum here.  Since nobody had answered Michael at press time, I thought it might be helpful to find the answer and publish it here.


Option 1) Use robots.txt to prohibit search engines form indexing a page.  Simply add this to your robots.txt file.  If you don’t have a robots.txt file, simply create one in your go-to text editor.

User-agent: *
Disallow: /category/page-title

These two lines will a) let search engines know this rule applies to all robots and b) tell them they cannot index the page located at “category/page-title”.

Option 2) Use this handy plugin.  The Ultimate Noindex Nofollow Plugin by Jonathan Kemp.  With this plugin you can choose pages that the plugin will identifying as non-indexable in the robots.txt file.  There are many other options with this plugin including adding the rel=”nofollow” tag to various places in your WordPress code.

Option 3) Use a meta tag to order search engines to not index a particular page. The meta tag looks like this: