04. Understanding Staging: How To Test Your Website for Glitches when Updating or when adding new features; plugins, themes, cores.

In this lesson we are going to learn how to automatically create a staging website through SiteGround. Sometimes its nice to automate the process, and so I will show you on how to automatically create a staging website, but you will need to upgrade to SiteGround’s Pro Tier.

Its not necessary right now to upgrade your SiteGround website if you don’t need to yet, so you can stick with manually creating your staging website if you want.

Though once you website gets more traffic it makes more sense to use this feature since you will save a lot of time, and most likely at this point you will have a lot of traffic so it just makes sense to upgrade eventually.

Time Stamp:
Intro: 0:00:00
Testing a new plugin on our staging before on our final stuff- 1:14:28
Checklist to go through when adding a new plugin, theme, or updating: 6:27:00
Always make a backup on your live site before updating, or adding something new 10:56:00
Siteground Backup – 11:30:00
Create an updraft plus backup – 13:12:00
Siteground Server Backup – 15:23:00
Implementing Maintenance Mode – Adding plugin to final production – 16:04:06
Deleting cache (not necessary) – 17:59:00
Adding the new plugins to the final production site: 18:30:00
Testing checkout on live site while in maintenance mode (not necessary) 19:53:00
Turning off maintenance mode – 20:30:00
Deleting cache again after turning off maintenance mode (only necessary if you deleted in the beginning, if you didn’t then there’s no need) – 20:40:00

You will still need to setup google analytics, facebook pixel, post smtp/mailgun, and updraftplus since this is different website. Refer to others lessons on how to setup google analytics, facebook pixel, updraftplus and post smtp/mailgun. Check if your Cron Jobs and WP Update (code snippets) are for turning these off are in your WP_Config.PHP file.

Cron URL Information (copy and paste, and edit YourWebsite.com with your domain name):

wget -q -O - https://YourWebsite.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1