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.

CommentFileSizeAuthor
#7 nodewords-n1911166-7.patch516 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

federico’s picture

Same issue here.

It seems that the settings under "Meta tag ROBOTS for lists" are never used at all.

jojik’s picture

Issue summary: View changes

Please, 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.

DamienMcKenna’s picture

Version: 6.x-1.14 » 6.x-1.x-dev
Category: Support request » Bug report
Priority: Normal » Major

Obviously 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.

jojik’s picture

I 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?

Dmitr76’s picture

The 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:

'robots' => array(
      'callback' => 'nodewords_basic_robots',
      'context' => array(
        'denied' => array(
          NODEWORDS_TYPE_NONE,
        ),

(String #185)
add

'allowed' => array(
          NODEWORDS_TYPE_PAGER,
        ),

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=...)

vijaycs85’s picture

Looks like something happened around nodewords_update_6146 and used in nodewords_basic_robots_prepare(). Don't really get what it exactly does.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
516 bytes

Does this fix the problem?

DamienMcKenna’s picture

Status: Needs review » Closed (won't fix)

Thank you for taking the time to work on this. However, the module is no longer supported, so I'm closing this issue.