Nodewords generates the wrong meta tag for the Google Webmaster Tools verification code.

According to Google, the tag should looks like this...

<meta name="google-site-verification" content="<verification_code_here>" /> 

...but this module generates the following tag:

<meta name="verify-v1" content="<verification_code_here>" />

FWIW, changing "verify-v1" to "google-site-verification" in...

line 52 of site_verification.module

and

line 96 of site_verification.metatags.inc

...did the trick here.

[Edited by KiamLaLuno to show the HTML tags that were not shown]

CommentFileSizeAuthor
#3 591706_google.patch1.27 KBandypost
#1 591706_google.patch829 bytesandypost

Comments

andypost’s picture

Status: Active » Needs review
StatusFileSize
new829 bytes

Confirm, and here is the patch

andypost’s picture

Version: 6.x-1.2 » 6.x-1.x-dev

My patch against DRUPAL-6--1

andypost’s picture

StatusFileSize
new1.27 KB

Suppose hook_nodewords_tags_info() should be changed too

avpaderno’s picture

Component: Third-party modules integration » Code
Status: Needs review » Fixed

The patch has been committed in CVS.

Thanks for the report, and the patch.

ilfelice’s picture

That was fast! Thank you!

avpaderno’s picture

Status: Fixed » Closed (fixed)

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

Tony Sharpe’s picture

Version: 6.x-1.x-dev » 6.x-1.3-beta5

Is this fix included in 6.x-1.3 beta5? That still shows the problem although dated a month later.

Tony Sharpe’s picture

Forget that, I don't think I've upgraded correctly.

avpaderno’s picture

Version: 6.x-1.3-beta5 » 6.x-1.x-dev