Known Issues

Last updated on
30 April 2025

View known issues by version:

All versions

xmlsitemap_user module is borked
Ugh, there's lots of crappy stuff going on about when to save the XML sitemap data from the user account form and when to save it because the $account object changes. I'm looking into this right now, but currently the per-user settings are not working on 7.x-2.x or 6.x-2.x.

This means you should not enable xmlsitemap_users until this is resolved. See issue #708078: user submodule is borked for summary.

I get the following warning in my web browser when viewing my XML sitemaps:
This XML file does not appear to have any style information associated with it. The document tree is shown below.

This just means that you are viewing the raw XML page. There is nothing wrong and you can ignore this warning. If you would like to enable a nicer viewing style for your XML sitemaps, you can enable the "Include a stylesheet in the sitemaps." option in admin/settings/xmlsitemap.

If I don't have clean URLs enabled, can I still submit my sitemap to search engines?

Use http://example.com/?q=sitemap.xml as your sitemap's URL or enable clean URLs. Please note that using clean URLs is highly recommended.

I get the following error from Google Webmaster Tools:
Invalid date - An invalid date was found. Please fix the date or formatting before resubmitting.- Parent tag: url

Most likely you are using PHP 5.1.1 or PHP 5.1.2, which introduced the new date/time constant DATE_W3C but doesn't include the required semicolon in the timezone separator. This bug has been fixed in PHP 5.1.3 and higher. See http://bugs.php.net/bug.php?id=36599.

My site's URLs are generated incorrectly in the sitemap.

If your site's URLs normally look like http://example.com/ but they are generated in the sitemap as http://www.example.com/ (or something other than expected) you probably need to set the $base_url variable in your site's settings.php file. The 6.x-2.x version has an option to set this variable at admin/settings/xmlsitemap. Clear the cache and run the cron to rebuild sitemap with new $base_url. See http://drupal.org/node/562404 or http://drupal.org/node/505232.

I get the following error when viewing my sitemap.xml when the "Include a stylesheet in the sitemaps." option is enabled:
Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype

See the previous answer about setting the $base_url variable in your site's settings.php.

I get the following error when checking Google Webmaster Tools:
Verification failed. Your verification file has the wrong content.

Google changed the method for verification which is not compatible with the 5.x and 6.x-1.x version of the XML sitemap engines sub-module. You should install and enable the Site verification module for your search engine verifications. This functionality is being deprecated from the XML sitemap engines sub-module.

The sitemap is generated for http://default/ instead of for my website's URL
This can happen if cron is run through Drush, and the site base URL has not been configured in drush.yml (Drupal 8+) or in drushrc.php (Drupal 7-).

6.x-1.x branch

Performance issues

The current recommended 6.x-1.x and 5.x versions cause serious performance issues on sites that have large amounts of content to index into sitemap data. Disabling the module usually resolves the performance issues. See http://drupal.org/node/448000#comment-1534704 for details. Also note that the 6.x-2.x branch is a complete refactoring with considerations for performance, scalability, and reliability.

Access Denied (403) errors when submitting to search engines.

Use of the "Submit the sitemap when content changes" checkbox can cause the search engines to give you Access Denied (403) or other errors because of the rate of submission. If your content is mostly static you may use this feature safely but if you have content that is changing with every cron.php run or user entry then the content will be submitted at the next user's page refresh. This was discussed at http://drupal.org/node/534460.

6.x-2.x branch

Other than the issues specified in the All versions section there are no other known issues.

Help improve this page

Page status: Not set

You can: