Fetching from SFTP with Phpseclib
I recently had a customer who needed to fetch and import files from a remote SFTP server on a scheduled basis. The import process was handled nicely by WP All Import, so no need to do any custom code there.…
I recently had a customer who needed to fetch and import files from a remote SFTP server on a scheduled basis. The import process was handled nicely by WP All Import, so no need to do any custom code there.…
I previously wrote about taking website screenshots with gowitness. That works great for basic website screenshots. However my most recent project required full page screenshots which, unfortunately, gowitness does not yet support. It’s also unlikely to be added anytime soon.…
Migrating a WordPress site is generally a straightforward process. Make a backup of the current site, upload files, and import database onto the new web host. Moving a large website requires extra handling. Have you ever attempted to move a…
A good way to begin using object oriented PHP classes is by writing everything in a single .php file. That’s completely fine for small WordPress projects. For large projects a single file quickly becomes a disorganized mess. I know from…
This post is part of a series called “Learning Vue.js as a WordPress Developer” Part 1 – Getting Started Part 2 – Structured PHP, Rest API and Axios Part 3 – Markdown and WordPress Embeds Part 4 – Authenticated Rest…
I created the following script to automate removing ms-files.php from a legacy WordPress multisite hosted with Kinsta. It was a large network with hundreds of subsites. Doing this manually would have been a huge undertaking. Not familiar with ms-files.php? I…
I meant what I said in “Open Source All Of The Things 📖”. Today I’m excited, maybe a little scared, to announce I’m making public Anchor Hosting’s internal revenue numbers. This is made possible with a new tool I created…
Cloudflare’s 1.1.1.1 is pretty amazing. If you haven’t seen it, you should check it out. It’s a DNS lookup service which is fast, free and private. It works across all of your devices. I recently had DNS issues on a…
WordPress has some rough edges and requires routine maintenance in order to run smoothly. This is very comparable to your car 🚗 requiring regular oil changes. It has sparked an entire economy of businesses attempting to solve WordPress maintenance. From…
Performance issues on a WordPress multisite installation can be a challenge to solve. Over the last few weeks I’ve been making various performance improvements on a rather large multisite network. The following is a recap of those optimizations using SSH…