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.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

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

Admin Redirecting to HTTPS


Reply

2 Posts   458 Views

Avatar
cachobong

10 April 2013 at 6:28pm Community Member, 9 Posts

When I try to access http://mysite.com/admin it redirects to https://mysite.com/Security/login?BackURL=%2Fadmin

I don't want it to go to HTTPS. How do i disable/disallow redirecting to HTTPS when I access the Admin Page?

Avatar
Sean

11 April 2013 at 10:43am (Last edited: 11 April 2013 10:43am), Forum Moderator, 921 Posts

HTTPS redirection isn't on by default.

However, you might have Director::forceSSL() enabled somewhere in the code, e.g. in mysite/_config.php.

If not, then maybe you have some custom .htaccess rules or your host is redirecting requests to HTTPS for specific URLs.