Jump to:

23575 Posts in 19402 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » ErrorPage HTTPS 301 when Saving and Publishing

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: 296 Views
  • paradigm
    Community Member
    5 Posts

    ErrorPage HTTPS 301 when Saving and Publishing Link to this post


    I'm running version 2.4.7 with HTTPS setup for use in the admin section of the site. Everything is fine except for when Saving and Publishing an error page. The call to EditForm returns a 301 (Moved permanently) with the Location header set to the HTTP page that is being saved.

    E.g. If I save and publish "page-not-found" (404 Error Page) the location header in the 301 from the EditForm action will be http://mysite.com/page-not-found (note that the location is being set to HTTP and not HTTPS).

    The other strange thing is that with Dev mode enabled this problem doesn't exist and the page saves successfully.

    I have had a look into the depths of the SilverStripe request handling classes but I am hesitant to change anything because it could have widespread effects over the whole site.

    Has anyone encountered this problem or would anyone have any clues as to what might be causing this issue?


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.