Fixing the “-2” in WordPress Category Slugs

I was asked to look at a WordPress site that needed help with their pretty URLs. Most of them worked just fine, but a few of the categories had “-2” at the end of them, and they wanted that removed. The “-2” normally signifies that it’s a duplicate, but they did not have any duplicate categories. So what was causing the “-2”?  Continue reading “Fixing the “-2” in WordPress Category Slugs”

Putty Unable to Use Vagrant’s Private Key

I ran into an issue where I was attempting to use Vagrant on Windows and needed to SSH into the box. When I tried to run “vagrant ssh”, I got a message saying:

`ssh` executable not found in any directories in the %PATH% variable.

It then gives some instructions for using Putty. I knew Putty was installed on this Windows box, so I pulled it up and fed in the specs it gave (host, port, username, and private key). However, when I tried to connect, I got the following error message:

Unable to use key file “C:\Users\etucker\.vagrant.d\insecure_private_key” (OpenSSH SSH-2 private key) Continue reading “Putty Unable to Use Vagrant’s Private Key”

Masters of Data

Here is my latest editorial for the February 2014 issue of php[architect] magazine:

php[architect] - February 2014

Masters of Data

Conquering data is a daunting task. Not only do you need to generate the data, but you need to store it efficiently. (And don’t forget to validate it when you receive it and clean it before you send it into storage!) Never fear, though, there are lots of tools to help you on your quest. Continue reading “Masters of Data”