Pushing changes from localhost to live server?

You can achieve what you want using Local + WPEngine. Recently WPEngine made a deeper integration with Local. Local works great with windows and is very easy to set up a new WordPress local environment with it (only with a few clicks you will have a new WordPress site installed in your local enviroment, with a local url “http://your-site.local”), also this approach gives you the possibility to pull the website from WPEngine to Local as well as pushing from Local to WPEngine with just a couple of clicks, this includes an option for pushing the database if you want, without installing any additional plugins or third party resources.

WPEngine makes daily backups, and you can restore the backup you want to go back to, with just one click, so, if something goes wrong, it is very easy to recover your website. Also, WPEngine gives you a staging enviroment in the server, where you can test your changes and then deploy to production in just one click.

Here you can read more about features and configuration of Local + WPEngine connection.

As an alternative, you can use something like DeployHQ or DeployBot; connect that to Github, Bitbucket or similar, to create a pipeline to your server. So, when pushing via git to the website’s repository, the deployment tool will deploy your local changes to your website. The configuration for those tools is relatevely easy. The downside of that approach is that you will have to use something like WP Migrate DB Pro to push the database and you will have to go trough the configuration process for every new website.

Leave a Comment