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:

General Questions /

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

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

Unable to access sitemap.xml, using static publisher

Go to End

3 Posts   774 Views


Community Member, 20 Posts

25 October 2011 at 10:43pm

Hi there,

I can't access the by the static publisher generated sitemal.xml. I always get forwarded to the login form, the only way to access it is using ?flush=1

So I looked up the content in the file sitemap-xml.html in the cache folder, it only contains a refresh to the login form o_0

<meta http-equiv="refresh" content="2; URL=/Security/login?BackURL=%2Fsilverstripe%2Fdev%2Fsitemap.xml">

The website is about to go live, it would be great if someone could give a hint!

Cheers, Johannes


Forum Moderator, 5523 Posts

31 October 2011 at 8:44pm

it you site site map.xml via a web browser without static publisher rules in place what do you get? I can't see anything that would require the login in the module (no authenticated option).


Community Member, 20 Posts

1 November 2011 at 11:24pm

It works just fine when I call the sitemap.xml on the dev machine where I don't use caching.

For now I removed the file from caching to make it accessible.