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   528 Views

Avatar
cachobong

Community Member, 9 Posts

10 April 2013 at 6:28pm

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

Forum Moderator, 922 Posts

11 April 2013 at 10:43am

Edited: 11/04/2013 10:43am

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.