CodeIgniter Forums
ssl certificate and design setting - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: ssl certificate and design setting (/showthread.php?tid=66759)



ssl certificate and design setting - fanysf38 - 11-28-2016

Hi,
           every one I am trying to embed ssl certificate in my website. but is giving error for resolution the design of the website is disoriented when we tyer in" https" instead" http". Any one can help would be appreciated.  we tried different things but its not working.


RE: ssl certificate and design setting - Avenirer - 11-29-2016

when calling assets like javascripts, css, images, you should use "//yourdomain.com/asset.ext", instead of "http://yourdomain.com/asset.ext". Usually the problem is that the browser doesn't allow assets to be shown if they are retrieved from http://