Set robots Meta Tag to noindex on pages generated by the pager
yaph - August 13, 2008 - 21:02
| Project: | Meta tags |
| Version: | 6.x-1.0-rc1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | yaph |
| Status: | closed |
Description
If you have set the robots Meta tag to ALL:INDEX,FOLLOW all pages including those generated by the pager will be indexed by search engines. This results in duplicate title tags and meta descriptions. To avoid this only the first page of a node listing should be set to index,follow and the pages 1,2,… to noindex,follow.
I attached a patch for the current release candidate of the Meta Tags module for Drupal 6. Hope you agree that this is useful .
Best regards
Ramiro
| Attachment | Size |
|---|---|
| nodewords-6.x-1.0-rc1-meta-robots.patch | 645 bytes |

#1
Bumping this important patch. Apparently, yaph is really on to something big here. Ted Serbinski who makes the blueprint theme even took yaph suggestions and committed it there, as I found out by visiting this post.
Submitting Drupal 5 patch to go along with the Drupal 6 patch.
#2
Committed to CVS (D6).
Committed to CVS (D5).
Thanks!
#3
Here is a discussion (http://drupal.ru/node/25027) of this new feature on russian language and many of people want's to turn this feature off. So can you, please, do a checkbox at settings page which will be ON by default.
Thanks
#4
Well, people are glad to do what they want, but I can attest to this cleaning up my report at google's webmaster tools *considerably*. I can't fathom why anyone would want to go against that, but then again I can't read Russian. ;-)
#5
This is right behaviour to set "noindex" but all who wan't to have a posibility to turn this feature off have paid links at those pages. So if this pages could not be indexed they will lose the money.
All who have paid links at their sites will use a hacks to remove this "noindex" (you can see a code at one of comments which will turn off "noindex"). Do you understand?
So, I'm asking for a checkbox for this. This checkbox will be turned ON by default but if this needed it can be turned OFF. Thanks.
#6
I see - a bit of an edge case, but that makes a lot sense. I'm not the maintainer, but I'm sure they'd be open to a patch.
#7
subscribing
#8
Automatically closed -- issue fixed for 2 weeks with no activity.