1

How to stage a DreamPress site

 1 year ago
source link: https://help.dreamhost.com/hc/en-us/articles/360001265112-How-to-stage-a-DreamPress-site
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to stage a DreamPress site

Overview

Staging gives you the freedom and confidence to test changes before you publish without worry. It creates a copy of your site in a "sandbox" environment where you can experiment and preview changes without it affecting what your visitors see. When you're ready, push your changes to your live site with a simple click.

Watch before you begin

How do I create a staging site?

There are two steps in creating a staging website and then publishing it back to your live site.

Step 1 — Copy Live to Staging

This option copies your live DreamPress site to a staging website. View the following article for instructions:

Step 2 — Publish your changes from Staging to your live DreamPress site 

This option copies your Staging site and its changes, back to your live DreamPress site. View the following article for instructions:

How do I use a staging website to test and use newer versions of PHP?

Before proceeding, ensure that your live site is completely up to date. If a staging website is already in use, ensure that you have published any changes you wish to keep first.

There are four steps in creating a staging website to test new versions of PHP and then publishing it back to your live site.

Step 1 — Copy Live to Staging

This option copies your live DreamPress site to a staging website. View the following article for instructions:

Step 2 — Change the PHP version of your Staging site

This option allows you to select a newer version of PHP, and test it on your staging website. View the following article for instructions:

Step 3 — Test your Staging site

Once the PHP version on your staging website has changed, log into your staging website, and examine it to ensure it is working as expected. View the following article for instructions:

Step 4 — Publish your changes from Staging to your live DreamPress site

This option copies your Staging site and its changes, including the Staging site's PHP version, back to your live DreamPress site. View the following article for instructions:

Best practices

Password protecting your staging site

Search engines will penalize your site for duplicate content. To avoid this, your staging site is automatically password-protected so it does not lose SEO ranking.

Copying changes to your live site

Be careful when you copy from your staging site to your live site: you could potentially lose/overwrite any changes on your live site you've made since you started working on the staging site.

If you do choose to copy from the staging site, make sure to backup your live site just to be safe.

See also

Did this article answer your questions?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK