23007 Posts in 11866 Topics by 2828 members
|Go to End|
14 December 2010 at 11:19am
I've been searching the form for over 2 hours now and I can't seem to find an answer to why my sitemap.xml file won't be generated.
I've run www.mysite.com/sitemap.xml and get nothing - no error message, just blank. When I check our servers - I don't see the sitemap.xml file either.
I'm really stuck here.
I'm running Silverstripe 2.4 along with the subsites module (which I believe could be the issue here, but not sure).
Is anyone else running into this same issue? If anyone could help even point me in the right direction that would be great.
14 December 2010 at 6:01pm
Have you got a folder in your site root 'googlesitemaps'. Also ensure that folder has a _config file.
sitemap.xml is not a file, SilverStripe listens for the sitemap.xml URL and if someone requests it sends them to the GoogleSitemap class. (http://open.silverstripe.org/browser/modules/googlesitemaps/trunk/_config.php).
If you don't have mod_rewrite installed then the url would be index.php/sitemap.xml
|Go to Top|