Serve Https Urls on Https Pages

I recently had to dig up some of my old code which ensures https urls are served up on https pages. The function occured to me as being pretty clean, so much so that I thought I should share it with the world :-). First the function that serves up the https:

Then you […]