how to install ssl
and we have problems with activate ssl.
When we write "https://strefa.amberinvest.org" in browsers we get errors and certificate doesn't work.
We searched forum and we found something like that:
We add this code to the header in template file eg. fullview.php and we add atttribute "force_ssl" to the home page.
In site.php we add define('REDIRECT_TO_BASE_URL', false);
And when we add all this code the site didn't open as https and http.
What we are doing wrong?
How we can install SSL to all sites in our website?
If you only want that on some pages, then what you're trying might work, but there's a couple of potential problems with it. First of all, you have your redirect location set to "http://", not "https://". Also, make sure that is the very first line of code in your template (before the opening <html tag) -- it doesn't work if anything (even an empty space) has been outputted already.
Hope that helps.
That should make the entire site use SSL.
Doing it on a page-by-page basis is trickier -- see this thread if interested:http://www.concrete5.org/community/forums/customizing_c5/https-on-o...
$this->getThemePath() . '/style.css'
It really would be nice if there was an easy way to make an entire C5 site use https without having to change stuff though. I would think setting the base_url would make the change in the css sheet as well.