Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Googlesitemaps (xml not showing up)


Go to End


2 Posts   977 Views

Avatar
Mny80

Community Member, 1 Post

14 December 2010 at 11:19am

Hi,

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.

Thanks.

Avatar
Willr

Forum Moderator, 5523 Posts

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