The Random Thoughts of a Geek heading for Banbury
The Random Thoughts of a Geek heading for Banbury

Converting WordPress to HTTPS

I have now got HTTPS set up on // from a server point of view (following these instructions).

I now need to tell Word Press that from now on its to play nice.

Settings > General

Wordpress settings
WordPress settings

Add an S to the HTTP:// and off we go.

One of the things on my blog that doesn’t have https is my UK Waterways Ranking button on the right hand side, one way to deal with this is to proxy it…

In my theme folder I crated a file called rankimg.php with the following

header('Content-Type: image/png');

And in the widget that called it I changed the path image path to

<img src="//">

(Thanks to Kat for this code).

With this all done, my padlock is now closed (sometimes, previous posts have http:// baked into image links).

To deal with hangovers and random hard baked things, Velvet Blues Update URLs plug in does a wonderful job!

Velvet blues update urls plugin!
Velvet blues update urls plugin! Just search for your old URL, and place the new one in as //

Leave a comment

Your email address will not be published.