CodeIgniter Forums
HTTPS : how to do - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: HTTPS : how to do (/showthread.php?tid=74492)



HTTPS : how to do - casa - 10-01-2019

Hello,
If certificate installed and website must to be with https://www.example.com, does something special to do in configuration in order to have good working of the application developped with codeigniter ?
To touch some configurations? Im not specialist for this point.
Thank you


RE: HTTPS : how to do - mladoux - 10-01-2019

Make sure that $config['base_url'] = ''; from your application/config/config.php has your site as $config['base_url'] = 'https://www.example.com'; and you should be good.


RE: HTTPS : how to do - mboufos - 10-01-2019

do it with .htaccess(force to https) or if you have plesk throught plesk!