How can I have CodeIgniter load specific pages using SSL? I have an apache2/mode_ssl server. mod_ssl uses a different document root than non-secure
mode_ssl
mod_ssl
another question is similar to this
you can use a protocol-relative url which will keep persistence in the linking in CI.
in your config.php instead of:
config.php
$config['base_url'] = 'http://example.com/';
put;
$config['base_url'] = '//example.com/';
information about protocol-relative links here.