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.

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   2360 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?