Command line WordPress updates

To update WordPress instances via command line, check out https://wp-cli.org/. Useful when you can’t find an admin user but need to patch a WordPress instance immediately. Other useful resources: https://www.rosehosting.com/blog/how-to-install-and-use-wp-cli-on-a-linux-vps/

Setting up WordPress

The following instructions describe how I install WordPress on Ubuntu. The instructions may differ slightly for other server environments, but the basic principles should be the same. This requires shell access to the server, but once it’s finished the WordPress instance(s) should be capable of being administered through a web browser. Part 1 – Installing … Read more

Authenticating WordPress

The quick and dirty way is using wp-require-login, which can be downloaded from https://wordpress.org/plugins/wp-require-login/. Only people registered with the site can view content, which makes it ideal for intranets etc.

Setting up WordPress multisite

The instructions at http://codex.wordpress.org/Create_A_Network are good, and are mostly enough to get it up and running. There are two more things to do on Ubuntu servers: Enable mod_rewrite by issuing the command a2enmod rewrite in a terminal. Open /etc/apache2/apache2.conf and find the part that says: <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted … Read more

WordPress troubleshooting

I’ve done a fair bit of WordPress troubleshooting over the last few weeks, including moving sites from one server to another and upgrading server operating systems. While a lot of this isn’t probably that interesting, I did come across a few things that might help other people undertaking similar tasks. My method for moving content … Read more