Backend no styles when using https [SOLVED]

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am

Backend no styles when using https [SOLVED]

Post 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?
Last edited by thomahawk on Sat Dec 13, 2014 7:49 am, edited 1 time in total.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Backend no styles when using https

Post by Jo Morg »

I usually add to my config:

Code: Select all

$config['admin_url'] = 'https://<domain>/whateveradminfolderis';
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am

Re: Backend no styles when using https

Post by thomahawk »

Thank you Jo. Yes indeed, this did it.
Regards
Thom
Post Reply

Return to “The Lounge”