Syncing production with staging

If you are using Pantheon for hosting it turns out to be trivial to do this as a test (they call it dev), stage (they call it test) and production server are built into their platform along with tools to manage moving data and files around. Plus with Pantheon you get easy but optional Git … Read more

Staging a WordPress site with WP-Deploy

First off, you need to set your global WP settings under the “WordPress” heading in config/deploy.rb: set :wp_user, “aaronthomas” # The admin username set :wp_email, “[email protected]” # The admin email address set :wp_sitename, “WP Deploy” # The site title set :wp_localurl, “localhost” # Your local environment URL These are the settings used for your inital … Read more

DB connection error after copying a WordPress Multisite instance to a second location

One thought – when I go to www.example.com/staging/wp-admin it automatically redirects me to www.example.com/wp-admin Could the redirect from staging.example.com to example.com/staging be conflicting with the existing install? UPDATE: looks like it could be related to .htaccess issues and complicated domain references in the database From the WP Codex: Moving WordPress Multisite Multisite is far more … Read more

WordPress database synch between dev and prod

The reality is that what we want is this: http://www.liquibase.org/ Liquibase is an open source (Apache 2.0 Licensed), database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are stored in a human readable yet trackable form and checked into source control. However our development process … Read more