SSL site unable to login to admin page for C5 version

I just upgraded my c5 into and make a deploy into my live site. Everything works fine locally which is not using SSL. However, when i deploy it on live, my live site is in SSL (https), I am not able to login to c5 admin due to Mixed content error.

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ''. This request has been blocked; the content must be served over HTTPS.

Any Idea on how to solve this?

View Replies:
RemiNL replied on at Permalink Reply
Add (or replace) to your config/site.php
define('BASE_URL', '');

That's it!
jtay replied on at Permalink Reply
I couldn't find /config/site.php in my config. I think they are not using site.php anymore starting from concrete 5.7 but i am not sure where to paste the base url?
jmckee replied on at Permalink Reply