Kevin Pirnie's Source Code Articles

Plugin - Security Header Generator

Managing the hosting for thousands of websites is no easy feat. Wordpress makes that a tad more difficult because it currently runs over 1/3 of the websites on the internet. Keeping an application with this kind of global coverage secure should be the number 1 priority of every web hosting…

Plugin - Gravity Forms SMTP Settings

I ran into a situation where a client needed to utilize separate SMTP accounts to send emails through their forms on their site for various reasons ranging from send tracking to accounting. They were already using the WP Mail SMTP plugin, but had found that there was no way they…

Restic Python Backup to S3 Compatible Storage

Forward In my quest to get my servers fully automated, I realized I needed a reliable way to backup and restore my sites and databases.  Including a way to either browse the backups, or restore them to any other machine I have access to. At first I thought... mmm...  duplicity…

High Performance Wordpress and Server - Part I - Server Setup

I have successfully managed to get around a 1 second load time on my Wordpress site, While getting 250 concurrent users over a 1 minute test period.  (Source: https://webpagetest.org/result/210128_Di26_15d11aa18013d1df9ebc867e1aa9c2f3/) This was done with a combination of items, stemming from the server install up to Wordpress theme development.  Here is how…