Hi,
I can't seem to make use of the feature to show specific robots tags for paginated lists. I see the options in the admin interface, but I see a logical error there. When I understand "Repeat meta tags for lists" correctly, deselecting this means that _no_ metatags are output on pages > 0. When I select it, the same tags are output for all pages of the list. From my tests I get the impression that the settings under "Meta tag ROBOTS for lists" are never used at all.
For when I deselect "Repeat meta tags for lists" no metatags are output for pages > 0, not even robots tags. When I select it though it is always the default tags that are output ("index, follow" in my case, but I have "noindex, follow" selected).
Can somebody shed some light on this please?
I'm afraid of not seeing the obvious, but after 3 hours of testing and digging through the code I can't seem to find a solution.
Comment | File | Size | Author |
---|---|---|---|
#7 | nodewords-n1911166-7.patch | 516 bytes | DamienMcKenna |
Comments
Comment #1
federico CreditAttribution: federico commentedSame issue here.
It seems that the settings under "Meta tag ROBOTS for lists" are never used at all.
Comment #2
jojik CreditAttribution: jojik commentedPlease, please FIX this issue! Why does this not work with Drupal 6. With Drupal 7 it is working perfecly.
Can someone have a look at this problem in detail? I am sure it is very easy to fix.
Comment #3
DamienMcKennaObviously it isn't behaving correctly, I've bumped the priority to indicate it needs fixing. That said, I haven't had time to get to Nodewords much lately, if someone wanted to look at the code to see if they could work out why that option is not stopping *all* meta tags from being output and report back, I'd be very grateful.
Comment #4
jojik CreditAttribution: jojik commentedI wish I could help with the code, but I am not good at coding. Is there any other way to implement the robots noindex code in the head section on all paginated pages? Can you send me the code?
Comment #5
Dmitr76 CreditAttribution: Dmitr76 commentedThe same problem: "no metatag Robots are output for pages > 0".
And "way to implement the robots noindex code in the head section on all paginated pages":
you need modify file "nodewords_basic.module" at folder /sites/all/modules/nodewords/nodewords_basic/
after strings:
(String #185)
add
than, clear cache (if exists),
Select needed options (forexample "NOINDEX", "NOFOLLOW") at Nodewords admin interface "Meta tag ROBOTS for lists:" section.
And needed metatag Robots appier at head section of paginated pages. (?page=...)
Comment #6
vijaycs85Looks like something happened around nodewords_update_6146 and used in nodewords_basic_robots_prepare(). Don't really get what it exactly does.
Comment #7
DamienMcKennaDoes this fix the problem?
Comment #8
DamienMcKennaThank you for taking the time to work on this. However, the module is no longer supported, so I'm closing this issue.