Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WPEngine also covers a wide number of features relevant to the regular hosting of our WordPress practice, like taking regular backups and automatic updates. As such, the code synced to the WPEngine instance is often only the /wp-content/ folder such that WPEngine can maintain its own dependencies, version of WordPress, and uploads.

Multi-Dev Branch Testing and QA

Some WordPress hosting platforms limit the amount of environments you can set up for having clients test new features (like WPEngine). In this case, we can set up a free Pantheon Sandbox, and migrate the content over to it for the client to test on an environment outside of their main hosting platform. This is for cases where we cannot use the DEV branch/environment for testing larger feature changes.

To create a copy of the WPEngine site on Pantheon…

  1. Create a Sandbox site on Pantheon

    1. https://dashboard.pantheon.io/sites/create?organization_id=8d63f343-3c50-483e-923c-ef78ea6f7f72&upstream_machine_name=wordpress

  2. Grab a database backup from WPEngine

  3. Upload the database backup to Pantheon

  4. Use git to push the code from WPEngine to Pantheon

  5. Download the uploads folder from WPEngine via a backup

  6. Upload the files to Pantheon via https://docs.pantheon.io/guides/drupal-hosted-btworkflow/upload-files with either SFTP or terminus rsync

  7. You now have a development site!

An alternative solution to this is Tugboat, but it costs money, and is not quite that stable.