{"id":215,"date":"2014-02-20T05:32:11","date_gmt":"2014-02-20T05:32:11","guid":{"rendered":"https:\/\/digitalchild.info\/215\/some-files-on-this-page-are-unencrypted.html"},"modified":"2014-02-20T05:32:11","modified_gmt":"2014-02-20T05:32:11","slug":"ssl-certificate-some-files-on-this-page-are-unencrypted","status":"publish","type":"post","link":"https:\/\/randomadult.local\/ssl-certificate-some-files-on-this-page-are-unencrypted\/","title":{"rendered":"SSL Certificate: Some files on this page are unencrypted."},"content":{"rendered":"
Ever developed a website, enabled SSL and then not had your browser show you a nice green SSL icon? You get the following in your browser?<\/p>\n
<\/p>\n
You click on the icon and there is a warning message ‘Some files on this page are unencrypted.’ This is because something on the page is still referring to http:\/\/.\u00a0Whenever I’m writing any URL’s\u00a0in code I \u00a0leave the protocol off.<\/p>\n
\n\nhttp:\/\/www.google.com\n\nwould become\n\n\/\/www.google.com\n\n<\/pre>\nThis will let the browser decide which protocol to use and stop the issue where ‘some files on this page are unencrypted error. Then all your links on your pages will\u00a0get this symbol in your address bar.<\/p>\n