Category: Server Administration

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.



The Basics of Manipulating Files from the Command Line

This week’s quick guide is a further practical exploration of the filesystem navigation of our most recent episode. In this one, our goal is instead the crude creation and manipulations of files within that filesystem. We cover a lot of stuff, but seeing someone doing this stuff with your own eyes if often the best way to really get a handle on it. The video:


10-ish Unix CLI File Commands Every WordPress Developer Should Know

Two weeks ago, we published a conceptual primer on the command line for WordPress developers who’ve never used it and never thought of using it. That article didn’t really touch on any of the nitty-gritty of using the command line, though. And the heart of deftly using the command line is really down to having sufficient knowledge of a bunch of different commands that you can use.


Navigating the Filesystem from the Command Line

This week’s Quick Guide isn’t specifically about WordPress. Instead, it’s a very brief primer on getting comfortable with the command line by navigating the filesystem on my Mac. As this week’s article explaining the core things you need to understand about the command line highlighted, a Mac is a Unix-like system as is Linux. This means that the commands this Quick Guide highlights are equally appropriate for your WordPress server, which has about a 98% chance of being some Linux variant.


What is the Command Line? CLIs from First Principles

A bus terminal

Eventually it happens to every new WordPress developer: someone blithely tells you to just “pop over to the command line” and suddenly you feel like a fraud. You shouldn’t–everyone is new once, and someone who won’t explain what they mean by that to you is a jerk–but you do. Most new developers hit that point, often at a local meetup or WordCamp. This is a tutorial for anyone who’s currently stuck there. And for people who are no longer stuck there, I’ll try to include enough details and anecdotes that you’ll learn a little something too.