How To Use WP Engine’s Staging Environment and Why

 
 

Deploying a new website to your live server is a nerve-wracking moment. It is similar to pressing ‘print’ on a big order of leaflets and fearing you may have missed a vital typo, but much more challenging because there are so many more moving parts in a website that could go wrong. On the Internet, so much more than a simple spelling mistake can go wrong when a website is made live. One way to alleviate those concerns is to prepare all online content on a test, or staging, site prior to launch.

A website dress rehearsal

WordPress is a powerful tool for web developers because it offers so many options for both design and functionality. Once the research has been completed and decisions about the site have been made, updates can be implemented in minutes and all the editing is performed live and in real-time. This benefit also poses a challenge – given the importance of the project, you may not wish to automatically make new content or functionality live without testing, or you might want to get something prepared and scheduled for a set date in the future.

The solution is to work on a staging site; this is an independent clone of your live website and can be easily created to test changes, from providing content for review to the addition of new plugins, themes or custom code. This option may not completely eradicate those ‘first-night nerves’ but can certainly provide extra assurance that the site has been tested thoroughly.

wordpress staging site

WP Engine includes a staging site with each WordPress installation for all its customers; this not only allows for easy testing but also means that the successful final site can be easily deployed onto the live environment. The staging site can be used as a secure way to thoroughly test your website before it is exposed to your customers, and it even includes the same daily backups as would be provided on a live site. Staging is a valuable step in the website development process and is as simple as selecting the ‘Staging’ tab from the WordPress dashboard and copying your website across. This will create a link that will allow you to access the staging site; be aware that this process will overwrite any previous staging environment. From here, it is possible to edit and develop the staging site in the same way as the live site (administrative rights are copied along with the content).

Alright on the night?

deploy from staging to liveThere is no replacement for live testing, but a staging site can mitigate many of the risks of going live without testing. It is the first step in ironing out any major issues with website changes. Do bear in mind, though, that not everything can be tested. For examplserver-side no server side caching in place on the WP Engine staging environment, so anything that could conflict with the cache must be tested on the live site as well. Plugins connected to third-party services – for example, functionality that allows visitors to share a page on social media or automated sharing of new content – may also require live testing to ensure that the correct URL’s are being used to share posts.

 

The main value of a staging site is that it allows you to work out the kinks in any website development prior to going live, and while it may not entirely eliminate those ‘first-night nerves’ it does provide the means to run your website through a dress rehearsal and test new designs, content and functionality before it is presented before your audience.

Find out how you can use the WP Engine Staging Area to thoroughly test your WordPress website ‘backstage’ and ensure your content is ready to take a bow when in front of your customers and prospects.

Got something to say about this article? Leave a comment below...

About us and this blog 

Icon copy 2

We are a team of WordPress experts who help businesses maintain and manage their websites. We take care of the updates, hosting, backups, content and all the other bits you don't want to worry about!

 

More from our blog

See all posts