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.

General Questions

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

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

sitemap.xml is empty


Reply

3 Posts   624 Views

Avatar
abschwoerung

10 August 2011 at 1:25am Community Member, 3 Posts

Hello there,

I installed SS and added several pages and I did not change the default values for "Google Sitemap" on each page, so each page now has a value there for its depth within the page tree. But if I call the sitemap.xml on http://mydomain.com/sitemap.xml it is always empty. Only for a single page in the third level, if I change the value to e.g. "3" then this page is within the sitemap.xml but no other.

What can I do here?

Thanks!

Avatar
abschwoerung

10 August 2011 at 1:27am Community Member, 3 Posts

Well, while I wrote this topic I got an idea and it was right, I did not check the "Show in search" checkbox. Now everything is fine.

Avatar
secuaz

29 April 2013 at 11:02pm Community Member, 21 Posts

The same was happening to me, then I downloaded version 1.0 of googlesitemap and the sitemap tree was created successfully: https://github.com/silverstripe-labs/silverstripe-googlesitemaps/tree/1.0