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 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.

All other Modules /

Discuss all other Modules here.

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

[Googlesitemaps] faulty sitemap

Go to End

4 Posts   1218 Views


Community Member, 55 Posts

15 November 2016 at 11:56am

Edited: 15/11/2016 12:11pm

The module creates the sitemap, but it holds just one link, which happens to be a dead one too (silverstripe generated server error page). I have this issue on both a populated and a clean ss 3.4.1 installation. Any idea what's happening here?


Forum Moderator, 5523 Posts

15 November 2016 at 6:09pm

Edited: 15/11/2016 6:10pm

Does your home page extend the 'Page' class. This method is defined on

This extension will have been added to your SiteTree/Page class as part of the the module (


Community Member, 55 Posts

16 November 2016 at 12:07am

All my pages extend Page class indeed.

I tried the mod on a barebone install which holds only pagetype 'Page', same error:


Community Member, 55 Posts

16 November 2016 at 12:39am

Edited: 16/11/2016 3:05am

I had to manually make the GoogleSitemapExtension extend the SiteTree class, it works now:

    - GoogleSitemapSiteTreeExtension