[eluser]Kobus M[/eluser]
[quote author="@robertotra" date="1329171609"][quote author="Kobus M" date="1329170243"]I got it fixed, thanks.
I did the following:
$proto = "http" . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "s" : "") . "://";
$config['base_url'] = $proto . 'www.impero.co.za/';[/quote]
I think it is not enough: this will set all your url's to https on your internal links, but will not force redirections if someone types the url manually. The same source that you cite uses a function to force redirection if a controller is called on http.
Roberto[/quote]
I tried this. I typed the URL with https:// and then browsed around, and viewed the source, it stayed on https and all assets were loaded on https. If I then typed the URL to normal without https (only http) and browsed around, it worked as expected, all assets loaded from http://... If needed, I will follow the rest of the advice in the article. Thanks for responding, Roberto :-)
Kobus