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?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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?
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.