Working Ninja
2014-04-05T17:40:11

Here’s the lowdown on how I setup my MAMP (Mac, Apache, MySQL and PHP) server for local web development and the steps I went through to create a development environment for a site already in production.

Configuring Apache

Apache comes preinstalled with OS X so I decided to stick with ...

READ MORE

2014-10-27T17:52:25

Was working on updating a WordPress installation from 3.4.1 to 4.0 while also pulling it out of a multisite install. I have been using Git to keep track of changes along the way (thankfully!). I ran into an upgrade issue and used the following commands to get ...

READ MORE

2014-10-28T17:53:13

There’s a lot you can do to make your WordPress install more secure–some easier than others! Here are a few of the easy ones. These can be applied to a new or existing WordPress install.

wp-config.php

Salt passwords:
https://api.wordpress.org/secret-key/1.1/salt/

Salting the passwords ...

READ MORE

2014-10-29T17:54:25

Lengthy title lends a lengthy reply, but it’s actually a quite simple fix. First some background information on my process that lead to the issue:

  1. Exported respective database tables from multisite install.
  2. Renamed table prefixes (e.g. from wp_7_ to wp_).
  3. Installed a fresh copy of WordPress (same version as ...

READ MORE

2014-11-11T17:56:26

Get to vhost root:
alias www='cd /var/www/vhosts/'

From domain.name, get to WordPress theme directory:
alias t='cd httpdocs/wp-content/themes/'

Restart Apache gracefully:
alias apachegrace='/etc/init.d/httpd restart graceful'

Directory listing with timestamp, ownership, permissions, etc:
alias ls="ls -l"

READ MORE