--- nodewords_old.module 2008-08-14 06:44:38.000000000 -0700 +++ nodewords_new.module 2009-01-21 18:28:53.000000000 -0800 @@ -894,8 +894,13 @@ function _nodewords_check_content($text) $text = substr($text, 0, $length); //TODO: is this UTF safe? } } - return $text; -} + // do not index pager pages + if (isset($_GET['page']) && is_numeric($_GET['page'])) { + $text = preg_replace('!^index!', 'noindex', $text); + } + return $text; + } + /** * Try to guess the $type and $ids by looking at $_GET['q'].