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.
Yahoo site explorer is expecting the verification file's content like this (Where "XXXXXXXXXXXXXXXX" is the verification key):
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<!-- XXXXXXXXXXXXXXXX -->
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
But the Site Map module is creating a plain text file with just the key.
Comment | File | Size | Author |
---|---|---|---|
#2 | xmlsitemap_engines_.pages_.txt | 1.6 KB | apaderno |
#1 | xmlsitemap_engines.pages_.inc_.tgz | 603 bytes | tuaris |
Comments
Comment #1
tuaris CreditAttribution: tuaris commentedFix attached
Comment #2
apadernoTo attach the file, it was enough to change the extension to .txt.
I am attaching the file contained in the archive found in the previous comment (to use it, the file must be renamed xmlsitemap_engines.pages.inc).
It is preferable to attach a patch, rather than the full modified file.
Comment #3
Dave ReidThis feature has been removed in the latest code. Please use the Site verification module.