I'm experiencing some strange behavior with a Drupal 6.15 site running Nodewords 6.x-1.11 and the same behavior after updating to Nodewords 6.x-1.12-beta2.

The "keywords" meta tag is repeated 4 times in the header of the front page. If the checkbox for "keywords" is disabled in the "Meta tags to output in HTML", then the "description" meta tags will be repeated 4 times in the header of the front page.

Also, the Bing/Google/Yahoo meta tags are not output to the header of the front page when they are entered at /admin/content/nodewords/meta-tags/frontpage and selected as "Meta tags to output in HTML".

I'm not sure if these two issues are related so I've entered them on this single ticket.

CommentFileSizeAuthor
#14 nodewords-n691852-14.patch413 bytesdamienmckenna

Comments

Anonymous’s picture

Not sure if this helps, but I had a similar problem with search engine tags in the header. Eventually figured it was because I pasted in the whole tag. All was OK when I just pasted the code content for each.

marcus0263’s picture

I've got this same issue, except currently my site description is listed 5 times. When I have keywords active it lists keywords 4 times and then description once. This affects all pages, not just the first page.

mattcasey’s picture

Subscribing - using 6.x-1.x-dev - anyone had luck trying the other ones? I'm scared to switch and lose my settings

Anonymous’s picture

Title: Keywords tag duplicated multiple times / Search engine tags not written to header » Meta tags are sometime output multiple times

Let us keep this report for the first part of the issue.

Using the more recent code, the meta tag ROBOTS is output twice. I am checking out what happens in these cases, and why it happens.

Anonymous’s picture

Status: Active » Fixed

I changed the code, and committed it in the repository.

Anonymous’s picture

I have marked #717228: dc.title is double in the output as duplicate of this report.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

asb’s picture

Version: 6.x-1.12-beta2 » 6.x-1.x-dev
Status: Closed (fixed) » Active

I just upgraded to the current 6.x-1.x-dev, and the "dc.title" metatag appears exactly three times in my site's header (frontpage; it's apanels page); in normal nodes, the "dc.publisher" metatag appears excactly three times. I have no means to verify all pages (~56639 nodes plus several views), but it appears to be systematic.

Reopening since this issue seems to not have been fixed in the current dev release. The site is online, so if someone wants to look into this, please drop me a short notice.

techypaul’s picture

I am having this issue too with latest version installed. If I turn off title, I get three dc.descriptions so its not the tag but the dc. process I think.

damienmckenna’s picture

Just entering a bunch of test defaults with the current 6.x-1.x-dev, and no other settings, results in the following:

<meta name="keywords" content="default keywords" />
<meta name="copyright" content="default copyright" />
<meta name="description" content="default description" />
<meta name="abstract" content="default abstract" />
<meta name="dc.contributor" content="default contributor" />
<meta name="dc.creator" content="default creator" />
<meta name="dc.description" content="default description" />
<meta name="dc.publisher" content="default publisher" />
<meta name="dc.publisher" content="default publisher" />
<meta name="dc.publisher" content="default publisher" />
<meta name="revisit-after" content="1 day" />
<meta name="robots" content="noindex, nofollow" />
damienmckenna’s picture

It seems that the dc.date and dc.title tags are not outputted and instead the dc.publisher one is duplicated in their place.

damienmckenna’s picture

The problem of the default dc.date being assigned was a different issue: #1325904: Default dc.date not output

damienmckenna’s picture

The dc.publisher is replacing the lat/long values. Now to fix it.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new413 bytes

Caught the bug - the $template value is not wiped out before it starts deciding whether to display anything, so it gets to the end and just uses the previous tag's data.

damienmckenna’s picture

Status: Needs review » Fixed

Committed. BTW the bug stemmed from the location handling, so there may still be a bug there.

damienmckenna’s picture

I marked #1292572: Multiple "revisit-after" tags displayed as a duplicate of this.

asb’s picture

Upgraded to the latest 6.x-1.x-dev a couple of D6 sites, and the isssue seems to be gone. Great!

Thank you very much!

Status: Fixed » Closed (fixed)
Issue tags: -search engine, -duplicate

Automatically closed -- issue fixed for 2 weeks with no activity.