Detecting https in PHP – the definitive guide

Detecting whether your PHP code is running on https or http is useful in a number of situations, particularly if you’re building a URL to set a form action or… More »

Using a Digital Ocean droplet as a VPN with static IP

Not strictly WordPress-related, this is nonetheless an issue that faces many web developers: how to access your client’s hosting when the client needs you to have a static IP address… More »

7 Reasons you should not host your own videos

There are times that users encounter issues when watching videos. Common issues include videos that can’t be played on mobile devices, users only see a black box where the video… More »

Connecting to Let’s Encrypt SSL sites via cURL from MAMP

This is a brief lesson in diagnostics that some may find helpful. The Scenario I develop websites on a Mac running MAMP. On my Mac I have an installation of… More »

Deploying a WordPress site to a staging or live server

A WordPress developer’s workflow will at some point involve migrating a site that has been developed on a local computer to a live or staging server. The process for a… More »

All About SMTP in WordPress

No matter what I’m doing, whatever site I’m building or managing, on whatever server, it’s always automated emailing that has given me the most hassle over the years. Here’s a… More »

Choosing a web host

There are millions of web hosting companies, and there are many things to consider when choosing which one is right for your site. In this post I will try to… More »