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.
Hi,
I've upgraded nodewords to 6.x-1.14 from 6.x-1.11 and I've noticed that the revisit-after meta tag is now showing on all pages - before the update it didn't show. We don't want to use this tag but setting the value to blank in the UI doesn't remote it and a look at the code suggests it will always default to 1 day if there's no value set.
$tags['revisit-after'] = $value > 1 ? "$value days" : '1 day';
<meta name="revisit-after" content="1 day">
Is there a way to disable this tag?
Comment | File | Size | Author |
---|---|---|---|
#5 | nodewords-n1889646-5.patch | 1.45 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThat's a bug, it shouldn't have a default value like that. Oops, sorry.
Comment #2
serenecloud CreditAttribution: serenecloud commentedThanks Damien, good to know I'm not going crazy. Do you have an ETA for a fix or a release target?
Comment #3
serenecloud CreditAttribution: serenecloud commentedHey Damien, sorry to keep asking about this but do you know when there will be a patch available? Cheers.
Comment #4
anneeasterling CreditAttribution: anneeasterling commentedThis was also an issue for me. My apologies for not submitting an official patch (and yeah, I need to learn how to do that), so here is my "patched" version of /sites/all/modules/patched/nodewords/nodewords_basic/nodewords_basic.module
Replace line 636-651 with the following:
This works on the site that I'm working on now. Improvements are welcome!
Thanks,
Anne
Comment #5
DamienMcKennaTry this.
Comment #6
DamienMcKennaCommitted! Thanks Anne!