Using Managed WordPress Staging Environments
Print this Article
Last Updated:
March 3, 2015 11:29 AM
Business and Professional Managed WordPress accounts provide staging environments, which gives you a place to work on your Managed WordPress site without modifying the content your visitors see.
Actually using the staging environment is easy, but there are some things we think you should understand before diving in:
- Staging environments use a domain we automatically generate for you. You cannot choose this domain name or add another domain to it.
- You have exactly one staging environment per site.
- Your staging environment is persistent. We don't destroy and create staging environments for you every time you push to or pull from it. This can explain some synchronizing issues you might experience.
The typical workflow with a staging environment is usually these steps in this order:
- Create the staging environment.
- Push your production site to the staging environment.
- Develop your site in the staging environment.
- Pull your staging environment into production once you're done developing it.
- Repeat steps 2-4 when you need to develop your site further.
Create Your Staging Environment
- Log in to Gateway using your COMPANY_NAME login.
- In the section for your Managed WordPress account, click Settings.
- Go to the Staging tab.
- Select one of the following, and then click OK:
Option What it does... Clone... Cloning creates an exact duplicate of your production environment in the staging environment, including themes, plugins, comments, posts, etc. Everything. Copy... Copying only moves across your theme and plugins to the staging environment, which does not include content like comments and posts. It only moves across the stuff you need to see what your site looks like.
Push Production to Staging
- Log in to Gateway using your COMPANY_NAME login.
- In the section for your Managed WordPress account, click Settings.
- Go to the Staging tab.
- Select Copy production to staging.
- If you want to copy across a version of your production site exactly as it is, select Overwrite content even when staging version is more recent.
- Click OK.
Pull Staging to Production
- Log in to Gateway using your COMPANY_NAME login.
- In the section for your Managed WordPress account, click Settings.
- Go to the Staging tab.
- Select Deploy from staging to production.
- If you do not want to move content created in staging to production (e.g. posts, comments, pages), select Delete content that isn't overwritten during deployment.
- Click OK.