Overview
WPEngine is our preferred vendor for Platform as a Service for WordPress
📏 Rules
✅ Do…
- Exclude WordPress Core Files from the repository
- Deploy to WPEngine using GitHub Actions
- Ensure local environments manage their installed version of WordPress consistently
- Copy the server’s wp-config.php, update it to point at .env and commit it to the repo.
- Include your theme and all required plugins in the repo.
- Create staging environments not staging servers.
- Leverage their caching mechanisms. They’re pretty good.
🚫 Don’t…
- Keep WP Core Files in the Repo
- Try to control the version of WordPress on the server by way of Core Files (tried that, got the bruises).
- Update plugins in WPEngine - do that locally in the repo.
- Enable Cloudflare’s Proxy if you use Cloudflare for the domain - they already use it.
📈 Guidance
Excluding WordPress Core Files from the Repository
Local Environments and WordPress
Deploying to WPEngine using GitHub Actions