Page 1 of 1

Backend no styles when using https [SOLVED]

Posted: Fri Dec 12, 2014 8:44 pm
by thomahawk
I was sure someone must have stumbled unto that problem before, but could not find any topic about this.

Well, we have enabled https (and pretty URLs is and was used before) in htaccess. To be precise, it is forcing https. The frontend runs fine. But the backend does only work in http. If https forcing is enabled, the login screen has no styles and the login does not work. (when logged in during http, I can activate https forcing again and get into the backend, but no styles).

The installation is pretty simple, no module except formbuilder is installed additionally to basic install. Pretty URL is used and I always rename the admin directory.

Is there something else I have to change when using https for backend too?

Re: Backend no styles when using https

Posted: Fri Dec 12, 2014 9:17 pm
by Jo Morg
I usually add to my config:

Code: Select all

$config['admin_url'] = 'https://<domain>/whateveradminfolderis';

Re: Backend no styles when using https

Posted: Sat Dec 13, 2014 7:49 am
by thomahawk
Thank you Jo. Yes indeed, this did it.
Regards
Thom