Jump to:

22977 Posts in 11742 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Unable to access sitemap.xml, using static publisher

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

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

Page: 1
Go to End
Author Topic: 396 Views
  • johannes
    Avatar
    Community Member
    20 Posts

    Unable to access sitemap.xml, using static publisher Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Unable to access sitemap.xml, using static publisher Link to this post

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

  • johannes
    Avatar
    Community Member
    20 Posts

    Re: Unable to access sitemap.xml, using static publisher Link to this post

    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.

    396 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.