Closed (fixed)
Project:
XML sitemap
Version:
6.x-2.x-dev
Component:
xmlsitemap.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2010 at 23:53 UTC
Updated:
8 Mar 2010 at 04:00 UTC
Jump to comment: Most recent
Comments
Comment #1
dave reidHave you enabled any of the sub-modules (xmlsitemap_node, xmlsitemap_taxonomy, etc)?
Comment #2
rcross commentedI am having the same issue.
I have enabled xmlsitemap, xmlsitemap_node, and xmlsitemap_search_engines. I have configured it as far as I can tell, and gotten the message that the cache directory has been created. I have run cron, and also toyed with setting the flag to mark the sitemap needing to be updated, also tried flushing caches and regenerating. I do not see any errors in my drupal log.
I am not sure what else to do. The sitemap doesn't seem to be in the cache directory, and visiting example.com/sitemap.xml just returns a 404.
I am using lighttpd which is the only non-default thing I can imagine, but clean urls work fine, so I don't think is the issue (and wouldn't account for why the file doesn't seem to be generated in the first place).
I'm out of ideas. Any suggestions?
Comment #3
dave reid- Do you have the dblog module enabled and have any 'xmlsitemap' type messages on admin/reports/dblog?
- Have you checked your server's error logs?
- Can you link to the problematic site so I can help debug?
Comment #4
stevebo77 commentedMost likely a rewrite rule for the .xml extension is also needed since the file will not exist and by default you are not going to be forwarding requests for .xml => index.php.
"^/([^.?]*\.xml)$" => "/index.php?q=$1"Comment #5
dave reid@stevebo77: With Drupal's shipped .htaccess it actually should be passing those requests to Drupal if there is no actual sitemap.xml file that exists in the root folder.
Of course, if this is lighttpd, I'm not sure. If this is a default config problem for lighttpd, please add it to the module's handbook page of 'Known issues' (http://drupal.org/node/482550)
Comment #6
Anonymous (not verified) commentedI am having the same problem with no links showing in the sitemap. If you want a link to my site for debugging go to:
http://www.thecfaa.com (or https://thecfaa.com). The sitemap is at https://thecfaa.com/sitemap.xml
Any help would be appreciated, thanks!
Drupal 6.15
XML Sitemap 6.x-2.x-dev (Downloaded today)
Comment #7
giorgio79 commented+1 for sitemap.xml not being generated
#6 your problem is a bit different, as for us the sitemap.xml is not generated at all.
I checked the log entries but all it says that sitemap.xml "Page not found"
This started with one of the latest updates. Will try the dblog.
My site is at www.reviewcritical.com
Comment #8
giorgio79 commentedRebuilding the sitemap fixed it for me :)
Comment #9
mamarley commentedI was having this same problem (including the fact that I am using lighttpd), and stevebo77's solution worked for me, but I also had to add another rule except with .xsl instead of .xml to get the stylesheet to work.
Comment #10
dave reidGuess I'll mark this as fixed then. :)