XML Sitemap isn't touching my sitemap file
baalwww - July 2, 2009 - 21:38
| Project: | XML sitemap |
| Version: | 6.x-1.0-rc1 |
| Component: | xmlsitemap.module |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I have the module installed cleanly in D6.4 and the submodules selected. When I go to admin, it correctly identifies my sitemap file as being sitemap.xml I have checked the box that says submit the sitemap when content changes. I have told it to mark the sitemap as needing updating. Then I run cron. The existing sitemap.xml file doesn't change, and there is no submission.

#1
The module does not update any existing file, but it outputs its own content.
If you have a file named sitemap.xml in the Drupal root directory, the module is not able to work as it should.
#2
It may take multiple runs of cron.php before the sitemap is updated. The cron.php script allows for 240 seconds of time and if other modules take all of the time in one session then there is none left for xmlsitemap. As Kiam stated sitemap.xml isn't written but is emulated and a file in your configured files directory is created under a xmlsitemap directory. That file is read and written to the port for the requestor when sitemap.xml is the requested URL.
#3
Marking fixed as no reply from the OP.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.