I love the folks at ServerPress, who make DesktopServer. So, I was super excited when they approached me to make a marketing video for their latest product: WPSiteSync.
This amazing plugin let’s you sync portions of content between WordPress sites without having to migrate entire databases.
If you have to migrate WP sites between local, staging, and live (or know you should) then I would highly recommended checking out WPSiteSync and staying tune to all the upcoming extensions.
After running my wp.zacgordon.com site on a shared SiteGround server with several other WP sites and having this site (and the others) hacked 3 times now in the last few months, I felt it was time to make a change.
I have thought about moving my WordPress blog to WordPress.com before, but never pulled the trigger because I appreciate the additional plugins and customizations I could make with a .org install. However, after the recent hacks, for ease of mind, I’m moving over to WordPress.com.
I’m actually excited about this because it lets me keep up to date on changes in the WordPress.com interface and feature offerings. This site is now live on .com, but I do have some work to do converting the Courses section over to Portfolio post type.
Alright, so back to work we go 🙂 Thanks WordPress.com for an infrastructure I don’t have to worry about.
This article from Smashing on how to move from a static site to a dynamic WordPress one is worth a read. It’s pretty in depth, but that’s necessary to give a practical example of the actual migration process.
When you start to develop a lot of WordPress themes, you will find your natural rhythm moving sites from local development to live testing or production environments.
Here is a simple 10 step process for doing just that. The process works even if the sites have different URLs.
- Backup your WordPress site using WordPressBackUp or another backup plugin that gives you a file and database backup.
- Download and unzip this backup on your desktop (or wherevs)
- FTP in to your new server and upload all the files from the backup, except for the database file ending in .sql
- Login to your hosting control panel and create a new database. Make sure to note the db name, username and password.
- Navigate to phpMyAdmin from hosting control panel and upload the .sql file from the backup.
- Open up the wp-config.php file on the server
- Update the database information in the wp-config.php with the new database info you just setup.
- Add the url to the site in the wp-config.php file
- You should now be able to go to the live WP site and login
- Install the Search and Replace plugin and do a find all and replace for “http://your-local-url.com” with “http://your-live-url.com”
The last step fixes hardcoded links in your database to media that was uploaded during local development.