When using the XML sitemap module, my sitemap does not list any URLs.
I have looked at the issue queue, and as this is a new installation, and my first sitemap for this site, I cannot find the same issue or resolution. (I am not trying to replicate a previous sitemap like this issue: http://drupal.org/node/458546 ).
I originally installed version 6.x-1.0-beta3, but after that did not list any URLs and I read the issues queue I un-installed it, then installed the latest version of 6.x-1.0-beta5.
This is what I get listed on my sitemap page (http://www.example.com/?q=sitemap.xml - note I do not have clean URLs):
<?xml version="1.0" encoding="UTF-8" ?>
- <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
- <sitemap>
<loc>http://www.example.com/?q=sitemap-0.xml</loc>
</sitemap>
- <sitemap>
<loc>http://www.example.com/?q=sitemap-1.xml</loc>
</sitemap>
</sitemapindex>
Google Webmaster Tools confirms that the “Total URLs in Sitemap = 0”. Webmaster Tools also reports this error:
Unsupported file format
Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.
I have run cron about 6 times over the last 48 hours with no effect. Plus when I Update The Cache I get lots of error messages about my backup, plus the below 2 errors:
* user warning: Table 'simplenu_drp01.drup_xmlsitemap_taxonomy' doesn't exist query: SELECT t.*, v.module FROM drup_term_data t INNER JOIN drup_vocabulary v ON v.vid = t.vid LEFT JOIN drup_xmlsitemap_taxonomy xt ON xt.pdata = t.tid WHERE xt.pdata IS NULL ORDER BY v.weight ASC, t.weight ASC LIMIT 0, 200 in /home1/simplenu/public_html/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module on line 24.
* user warning: Table 'simplenu_drp01.drup_xmlsitemap_taxonomy' doesn't exist query: SELECT COUNT(*) FROM drup_xmlsitemap_taxonomy WHERE status = 1 AND (priority_override = -2 OR priority_override >= 0) in /home1/simplenu/public_html/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module on line 187.
I am a Drupal newbie. Please can you offer any advice of how I can get URLs in my sitemap?
Thanks
Comments
Comment #1
avpadernoThe error Google Webmaster Tools reports is because you don't have the clean URLs enable; this is reported in the README.txt.
The sitemap is made of chunks, and what you see is normal.
The database error messages you report here have already an open issue report.
I am setting this report as fixed because it got all the answers.
Comment #2
Anonymous (not verified) commented