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.

All other Modules

Discuss all other Modules here.

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

Silverstripe 3.0 Googlesitemap Empty

Go to End

13 Posts   1171 Views


27 March 2013 at 12:53am Community Member, 1 Post

Hi Experts,

I am using Silverstripe 3.0 and i tried to use the googlesitemap modul to generate my sitemap. My site contains 5 "toplevel" pages and 3 subpages.
I downloaded the modul from this URL:
Then i copied the folder to the "mysite" folder and run dev/build.
When i open http://localhost/silverstripe/sitemap.xml I get following XML:

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="">

All my sites are missing in the XML, what am I doing wrong? Any Ideas?

Kind Regards


3 April 2013 at 4:09am Community Member, 4 Posts

I have the same issue. Any ideas forthcoming?



3 April 2013 at 9:13pm Forum Moderator, 5511 Posts

That is in index file. Like a table of contents. See the <loc> url for sitemap which contains your pages.


26 April 2013 at 10:11pm Community Member, 21 Posts

Hi all, I finally got the sitemap to show but i am getting the same problem: no pages showing.

Willr: "See the <loc> url for sitemap which contains your pages"

I only get the below entry,


how can I see the <loc> url????

Thanks in advance!


26 April 2013 at 10:18pm Forum Moderator, 5511 Posts

secuaz - see


26 April 2013 at 10:19pm Community Member, 21 Posts

I am wondering if this can be caused for the site to be on a local server not live...?



26 April 2013 at 10:36pm Community Member, 21 Posts

Thanks for your help, hopefully im close to getting the sitemap ready..

I saw
and got this error:

[User Error] Couldn't run query: SELECT DISTINCT "sitetree"."ClassName", "sitetree"."Created", "sitetree"."LastEdited", "sitetree"."URLSegment", "sitetree"."Title", "sitetree"."MenuTitle", "sitetree"."Content", "sitetree"."MetaTitle", "sitetree"."MetaDescription", "sitetree"."MetaKeywords", "sitetree"."ExtraMeta", "sitetree"."ShowInMenus", "sitetree"."ShowInSearch", "sitetree"."Sort", "sitetree"."HasBrokenFile", "sitetree"."HasBrokenLink", "sitetree"."ReportClass", "sitetree"."CanViewType", "sitetree"."CanEditType", "sitetree"."Version", "sitetree"."ParentID", "sitetree"."ID", CASE WHEN "sitetree"."ClassName" IS NOT NULL THEN "sitetree"."ClassName" ELSE 'sitetree' END AS "RecordClassName" FROM "sitetree" ORDER BY "sitetree"."Sort" ASC LIMIT 1000 Table 'thesite_feb.sitetree' doesn't exist
GET /sitemap.xml/sitemap/sitetree/1/
Line 568 in /var/www/

Do you think it may be related to the wordpress blog I have installed. I need a separate sitemap.xml file for it and send it separately but can't find how.

Thank you!


26 April 2013 at 10:37pm Forum Moderator, 5511 Posts

It's complaining about your database, make sure you've run a /dev/build recently.

Go to Top