I started using WordPress at one of my last jobs and we encountered a number of big headaches when it came time to code management and deployment. I realized, WordPress is not naturally built for the enterprise.
Whether it’s how the URLs are hardcoded into the database or how media files are attached and managed in a folder then via the database, there were a number of things we had to hack, to get WordPess deploying properly from our development box, to our staging environment, all the way up to our production servers.
Recently, Shannon Black, located out of Port Elizabeth, published a plugin called “WP Live Server Deploy.” After some initial testing with the plugin, it looks to be working great and I can happily recommend it as a solution to move code from dev to production.
As an extra note, you should also check out RAMP by Crowd Favorite. While RAMP runs for a hefty price of $249, it’s built by some of the best WordPress engineers around. Worth taking a look at, in my opinion.