SSL Certificate: Some files on this page are unencrypted.

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?


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://. Whenever I’m writing any URL’s in code I  leave the protocol off.

would become


This 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 get this symbol in your address bar.