Git and WordPress workflow for Local Development to Staging Webserver

This guide shows a Git and WordPress workflow and demonstrates version control using Git from a local development environment on OSX to a staging site webserver. For the Database control we will use WP Migrate Pro. A second remote repo for a production server would also need to be added in a real world scenario. This guide just…

Read More

Change and Update WordPress URLS in Database When Site is Moved to new Host

After migrating a WordPress site to a new URL either to a live production site or a testing development server, the new URL strings in the mysql database need to be changed and updated in the various mysql database tables. This method just uses the whole mysql database rather than a WordPress export/import from within, and…

Read More

Install and set up wp-cli WordPress on shared and local hosting

WordPress has a command line tool called wp-cli which operates similar to what Drush does for Drupal, it runs on OSX/Linux operating systems with a minimum of PHP 5.3.2 or later and WordPress 3.5.2. This guide will go through getting and installing wp-cli and basic usage it covers for either a local or production server environment. Install wp-cli curl…

Read More

Migrating WordPress MultiSite to a New URL

Migrating WordPress MultiSite to a New URL can be done with a combo of 2 excellent free plugins; WP Migrate DB and BackWPup  the former deals with the database and the latter deals with the files. The key thing when updating the WordPress database to reflect a new hosting URL is making sure any data serialization stays intact,…

Read More