Category: Server Administration

Deactivate a WordPress Plugin via FTP

The conventional method of turning off and on plugins in WordPress works 99.9% of the time. But sometimes, when you’re doing development work in a fast way (possibly “cowboy coding” in a sloppy way… :p), you’ll need to make plugin stop being loaded by WordPress in a different way. For that very small percentage case, it’s useful to know how to disable a plugin when you aren’t able to login to the admin area of a WordPress site. That’s where the (S)FTP hack we’ll cover today comes in.


Course: Working with the Command Line and WP-CLI

When we think about “using a computer,” we usually think in terms of graphical user interfaces, or GUIs: interfaces (like Microsoft Word, the Mac OS, or the WordPress admin interface) that are specially and attractively designed, that have programs and windows and tabs that visibly open and close, and that let you click things and drag things and drop things and hover things.


How and Why to Make a Bash Alias

One of the most obviously annoying things about the terminal — especially to those of us living in the age of touch and GUIs — is how much you need to type. Typing `ssh user@1.1.1.1` is never going to feel as fast as hitting a “connect” button, for example. As such, some people just never really like the terminal. While it’s hardly a solution to all your complaints, BASH (and most other Unix terminals) offer a solution to the issue of typing long commands. They’re called “aliases”. They’re essentially shortcuts to commonly typed things that can be as short as one letter. In the case of that’s video that’s exactly what we’ve done. We aliased (the already pretty short :p) command `clear` to be executable with the letter `c`. Here’s the video:



Understanding 301 Redirects in WordPress (Or: How to Not Ruin Your Client’s SEO)

picard double face palm | seo

I find working as a WordPress developer to be relatively low-stress. Giving people a good web presence is both a huge service, and something that doesn’t lead to massive tragedy if you’re not perfect at it right away. It’s not like being a fireman or a fighter pilot, for example.


How to Reboot a Server Over SSH

SSH Reboot Power Button

There are two big things that matter for programmers: knowing what needs to be done, and doing it. So when a server that you SSH into tells you that it wants to be restarted, it’s nice to just do that quick SSH reboot. So long as you trust that nothing will break (a small but import thing) the process of power cycling a server you only have access to over SSH isn’t too many steps.


The What, How and Why of WP-CLI: WordPress in Your Terminal

If you’ve been to a WordCamp or two, chances are good that you’ve heard of the existence of a thing called “WP CLI.” Maybe that’s all you know. Maybe you’ve used it. Maybe you have a sinking feeling of guilt when you hear that name because you feel like you should have used it by now. Whatever the case, this article will tell you what WP-CLI is, how you get it, and why you might want to.



Mastering the Unix Terminal: Working With Permissions, Networking, and Other Key Concepts

Last time we covered Unix commands, we talked about how you can move around the filesystem from the command line. These ideas are crucial; if you don’t understand the basics of navigating files and folders from the terminal, there’s not a lot you can do on the command line. If you’ve not mastered that, start with this on file-manipulation from the command line.