Closed (fixed)
Project:
XML sitemap
Version:
5.x-1.4
Component:
xmlsitemap_engines
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2008 at 12:42 UTC
Updated:
22 May 2008 at 20:14 UTC
I don't know why, but Google Webmaster central is reporting an error in my verification URL.
I certainly don't link to it nor provide it in the sitemap (it's produced by this module, but I checked it anyway)..
The error is a 'Missing title tag' and is reported to me in the Webmaster's "Dashboard > Diagnostics > Content analysis" page.
The following code fixes the problem:
--- xmlsitemap_engines.module.orig 2008-01-30 13:27:53.000000000 +0100
+++ xmlsitemap_engines.module 2008-01-30 13:36:45.000000000 +0100
@@ -261,7 +261,7 @@
function _xmlsitemap_engines_verify($engine) {
switch ($engine) {
case 'google':
- print 'Hello, Google!';
+ print '<html><head><title>Hello, Google!</title></head><body>Hello, Google!</body></html>';
break;
case 'yahoo':
print variable_get('xmlsitemap_engines_yahoo_verify_string', '');
Comments
Comment #1
darren ohFixed in CVS commit 115413.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.