Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#19 | Voila_Capture_39.png | 75.28 KB | apaderno |
#1 | nodewordsD5.patch | 531 bytes | calebgilbert |
nodewords-6.x-1.0-rc1-meta-robots.patch | 645 bytes | yaph |
Comments
Comment #1
calebgilbert CreditAttribution: calebgilbert commentedBumping 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.
Comment #2
Robrecht Jacques CreditAttribution: Robrecht Jacques commentedCommitted to CVS (D6).
Committed to CVS (D5).
Thanks!
Comment #3
VladSavitsky CreditAttribution: VladSavitsky commentedHere 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
Comment #4
calebgilbert CreditAttribution: calebgilbert commentedWell, 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. ;-)
Comment #5
VladSavitsky CreditAttribution: VladSavitsky commentedThis 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.
Comment #6
calebgilbert CreditAttribution: calebgilbert commentedI 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.
Comment #7
Jean-Philippe Fleury CreditAttribution: Jean-Philippe Fleury commentedsubscribing
Comment #9
FlemmingLeer CreditAttribution: FlemmingLeer commentedGoogle is still indexing despite of
<meta name="robots" content="noindex,follow" />
patch above.
Changing it to:
<meta name="ROBOTS" content="NOINDEX,FOLLOW">
may hopefully stop indexing of the
?page=x
urls.Mentioned here:
http://www.robotstxt.org/meta.html
At present I have 1500 pages in google with
?page=x
urls.Comment #10
apadernoThe suggested change has been implemented in the development snapshot, and probably is also present in version 6.x-1.0.
As Drupal CVS works, the code for 6.x-1.0-rc1 cannot be changed; it is useless to re-open a report for version 6.x-1.0-rc1, as the code for that version cannot be changed.
The content of the meta tag description is used whenever you write
, or ; the meta tag content is not case sensitive.Comment #11
FlemmingLeer CreditAttribution: FlemmingLeer commentedOh, I mistakenly added it for a wrong version for nodewords
I'm using nodewords 5.x-1.13
I'm also using Meta tags node type 5.x-1.4
on
Drupal 5.19
CAPTCHA Already 21262 blocked form submissions
Cron-opgaver Sidst kørt for 40 minutter 50 sekunder siden
Du kan køre cron manuelt.
Database-schema Updatered
Drupal core update status No update data available
No information is available about potential new releases for currently installed modules. To check for updates, you may need to run cron or you can check manually. Please note that checking for available updates can take a long time, so please be patient.
Filsystem Skrivbar (Public download-metode)
Job queue There are no queued jobs.
Konfigurationsfil Beskyttet
Memcache admin Memcache included
MySQL database 5.1.26
PHP 5.2.6
PHP register globals none
Unicode-bibliotek PHP mbstring-udvidelse
webserver Apache/2.0.54
Comment #12
apadernoDrupal 5 branch is not supported anymore; such feature is not going to be implemented.
Comment #13
Z2222 CreditAttribution: Z2222 commentedI don't think this is a good idea unless it's off by default. I generally don't want to noindex my pagination.
IMHO, a better idea is to fix the module to make the titles and descriptions different, not noindex them.
Comment #14
giorgio79 CreditAttribution: giorgio79 commentedHello,
Has this feature been removed?
I am not seeing noindex on pager pages.
Comment #15
apadernoRather than limiting the feature to only a meta tag, I would prefer to make the feature more generic.
There is already a setting page for the front page meta tags, for the error 403 (and 404) pages, and for the tracker page; adding a setting page for the pager pages would not be difficult.
Comment #16
apadernoThe code has been changed, and committed in CVS.
Comment #17
Jean-Philippe Fleury CreditAttribution: Jean-Philippe Fleury commentedHi KiamLaLuno,
Is it possible to describe a little the changes implemented?
Thanks.
Comment #18
giorgio79 CreditAttribution: giorgio79 commentedHi Kiam,
The pager setting page seems to be missing from the latest dev version.
Comment #19
apadernoAre you sure you downloaded the correct archive? I see the settings page, as it is visible in the attached screenshot.
Comment #20
giorgio79 CreditAttribution: giorgio79 commentedThanks Kiam :) I can see it now.
Comment #21
elyobo CreditAttribution: elyobo commentedAs mentioned above, preventing the other pages from being indexed sounds like massive overkill to me; I want the content indexed, not because they're paid links, but because it's (potentially) important content on my site.
A more useful suggestion would be for the pager to amend the title of the page instead.
Comment #23
couturier CreditAttribution: couturier commentedJust as a September 2012 update for people who may find this issue through a highly-indexed blog post on this topic, Nodewords is now the Meta Tags module, and applying different page titles to paginated Views can now be done through the Page Title module. However, Meta Tags is incorporating most of the functionality of the Page Title module, and a request for this function has been added to the Meta Tags queue here: Using views with [current-page:page-number] to avoid duplicate page titles
Comment #24
DamienMcKenna@Couturier: please note - Nodewords is still called "Nodewords", Meta tags (aka "Metatag") is the new rewrite for D7 - they are separate modules, what works for one will not work for another.
Comment #25
prakharcse CreditAttribution: prakharcse commentedI have a view whose results are about 20 pages with pager. URLs are like xyz?page=1. Now, I want to implement different meta description for each page so that xyz?page=1 and xyz?page=2 have different meta descriptions.
I have Metatag module installed in my installation.