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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Google sitemap.xml contains no pages


Go to End


2 Posts   1918 Views

Avatar
Acketh

Community Member, 4 Posts

26 March 2009 at 8:58am

Instead of getting a populated sitemap.xml file, I get a valid file with no page elements:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	
</urlset>

I've installed the Google Sitemap module on SS2.3.1, and rebuilt the database via /dev/build?flush=1

Also, I think I'm supposed to be seeing more options in the CMS for pages under METADATA that would relate to the Google sitemap entries, but I don't see any fields like this.

A coworker has also installed Silverstripe with the Sitemap module, and is having the same problem.

Thank you in advance for any help;

Avatar
Acketh

Community Member, 4 Posts

26 March 2009 at 9:02am

Sorry - forgot one (probably crucial) piece of information. I'm currently evaluating SS on my local machine, at http://localhost:8888.

Perhaps either the specific port or the fact that I'm running it through localhost is causing the problem?