Navigation is going from https login page to http

Navigation is going from https login page to http

by Bee Bell -
Number of replies: 2

The site is installed in a commercial host. An SSL certificate was purchased.

Users have complained about the "feature" of having only the login page secured.

So, the loginhttps values was set to NO

Now users open the fist page (https) go to the login page (https) and then no matter what course they go to they navigate to http pages without showing the certificate. (Right click on page> Properties > show only "Hyper Text Transfer Protocol" instead of "Hyper Text Transfer Protocol with Privacy" and Connection: not encrypted instead of SSL 3.0 etc. )

Also if the user click a course on the first page, the login page that comes up shows as a http page and not https as it should be!!!!

Why is this happening???

What can be done about this? We need all pages to be https

Also the padlock icon does not show in MS Internet Explorer. It only shows for a second when the https page is refreshed. Why?

Please I need an answer ASAP or users will refuse to use the site!

Average of ratings: -
In reply to Bee Bell

Re: Navigation is going from https login page to http

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
You need to also change the $CFG->wwwroot in your moodle/config.php to be https://....

To be sure, I also disable the http site altogether, by placing a redirect in the apache config so that all requests to a http page get forwarded to the equivalent https page.