https on 1.11.1

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
cowtan
Forum Members
Forum Members
Posts: 70
Joined: Mon Jan 19, 2009 5:04 pm

https on 1.11.1

Post by cowtan »

I have a customer with an old site running on CMSMS 1.11.1. They recently decided the site needed to be based on https rather than http. This has now been done and the front-end of the site runs fine but on the backend all links, stylesheets etc are appearing as http in the code which means it isn't really working.

I'm aware this is a very old version etc etc but does anyone have any idea what's going on and thoughts on what I might need to do to get the backend to properly switch over to https?

Thanks,
Gordon
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1627
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: https on 1.11.1

Post by DIGI3 »

It's possible there's some hardcoded urls that are going to cause issues, but you can try setting the root_url to an https url in config.php then clearing the cache:
$config['root_url'] = 'https://www.mysite.com';

There may be other config.php settings from back then that help, check in your /doc folder for a config reference pdf. They're generally irrelevant now so I can't recall them. And of course I'd be remiss in not telling you to upgrade asap for security reasons.
Not getting the answer you need? CMSMS support options
cowtan
Forum Members
Forum Members
Posts: 70
Joined: Mon Jan 19, 2009 5:04 pm

Re: https on 1.11.1

Post by cowtan »

Many thanks for the advice. Setting that variable in the config seems to have done the trick.

(Thanks also for the upgrade advice ;) )
Post Reply

Return to “CMSMS Core”