SlideShare a Scribd company logo
DON’T BREAK LIVE
USING A STAGING SITE FOR UPDATES
JAMIE SCHMID
• COMMUNITY EVANGELIST @SITELOCK
• FREELANCE DESIGNER AND DEVELOPER
• CONTENT ENTHUSIAST
• PROUD CAT MOM IN PORTLAND, OR
@JAMIESCHMID
@SITELOCK
WHAT IS A STAGING SITE?
A PRIVATE COPY OF YOUR SITE FOR
TESTING UPDATES, NEW FEATURES AND
CHANGES, QA CHECKS, ETC
STAGING LIVE
YOU KNOW YOU NEED TO KEEP
YOUR SITE UPDATED.
But making updates on your live site is scary
and dangerous. Things can and will break.
HOW DOES A STAGING SITE WORK?
STAGING LIVE
1. Make an exact duplicate of your live site
2. Run updates, test new plugins or themes, do QA
3. All good? Push those changes to the live site
1. Changes can include both physical files
and database changes
2. Databases are hard to synch!
3. WordPress uses static URL’s and
serialized data
4. Images need both a database

entry, and a physical file
5. Etc, just trust me
WHY IT’S NOT THAT EASY:
1. You need to make a replica of
your site.
2. You need to put it someplace so it
can run as a website
3. You need to get those

changes to your live site
WHAT IS REQUIRED?
DOING THE THINGS
AUDIT YOUR SITE
Caching? What is the size of your
site?
Any automations on the site:
auto emailers?
?! !
How busy is your site? Will you potentially be
overwriting orders, comments, a/b testing results
Are you using version control (git?)
Get familiar with your hosting! company, service
level, access.
WHAT ARE YOUR OPTIONS?
Hosting 1-Click Staging
Use a Plugin
Standalone Site: subdomain/subfolder
Local with a push to Staging/push to Live
Advanced Developer Workflow
HOSTING 1-CLICK-STAGING
The easiest & fastest solution!
The most expensive (in $) solution
Your host needs to offer it
PUSH TO LIVEPUSH TO LIVE
WP-ENGINE 1 CLICK STAGING IN
THE WP ADMIN
SOME HOSTS THAT OFFER

1-CLICK STAGING
WPEngine
Siteground
Pressable
Cloudways
Flywheel
Kinsta
Godaddy
SiteDistrict
..and more!
USE A PLUGIN
WP Staging: free in the repo
Creates a duplicate site inside
your live site via subdomain
Migrates to your live site
WP STAGING
STANDALONE SITE:

SUBDOMAIN/SUBFOLDER
Make changes locally and push to your
remote staging
Ensure all is working as expected
Make those same changes again on live OR
push to live
LOCAL WORDPRESS SITE
Make changes on local site
Ensure all is working as expected
Make those same changes again on live
or push to live
RUNNING YOUR SITE ON YOUR OWN
COMPUTER, USING SOFTWARE THAT ALLOWS
YOUR COMPUTER TO RUN AS A SERVER.
WHAT IS A LOCAL SITE?
127.0.0.1
WORDPRESS LOCAL DEVELOPMENT
DESKTOPSERVER LOCAL BY FLYWHEEL
REPLICATING, MIGRATING,
SYNCHING CHANGES
Replicate: Perform the same changes you
did on Staging, to live
Migrate: An automated process that
overwrites files or database content
Synch: An advanced process that checks
for changes on both sides, and resolves
them into one
MIGRATE
May require URL, config, etc changes
Partial overwrites are more complex
Duplicator, Backup Buddy, All-in-One WP
Migration, UpdraftPlus
DesktopServer Direct Deploy
DUPLICATOR
SYNCHING
The most complex
If you have a perfect solution for this
please tell me, please tell us all
WPMigrateDB, WPSiteSynch
WP SITE SYNC
1. Make a schedule for doing updates
2. Use a service to track updates
3. Make all updates on staging first
4. Never break live again!
A RECIPE FOR SUCCESS
BONUS CONTENT!
WHEN EVALUATING YOUR OPTIONS
THINGS TO CONSIDER…
How much time and
resources do you have
for maintenance?
What is your budget?
Remember: time saved
= $$ saved
How often will you check
for core, theme and plugin
updates? Often! Check for
outdated plugins.
How often will you
perform the updates?
Schedule them!
Who is performing the
updates? Assign them!
ASK YOURSELF:
ASK YOURSELF:
How many sites do you
have to manage?
Do you have multiple
people who need to
verify changes before
it can go live?
How technical is your
situation? Is your site in
version control?
How busy is your live site?
Popular ecommerce sites
may be continuously
processing tractions or
writing sessions.
EXAMPLE WORKFLOWS
A COUPLE’A…
ONE CLICK STAGING
1. Pick a host with one click staging, like
WP Engine
2. Confirm user rules: never update live,
never add new features to live, never
add new content to live
3. Create an updates schedule. Include
monitoring reports
4. Pull live to staging
5. Make changes
6. Push staging to live
DUPLICATION IN-SITE
1. Use the WP Staging plugin
2. Create a duplicate inside your live
WP install
3. Make your changes to the duplicate
4. Push to live
SUBDOMAIN STAGING
1. Create a subdomain on your main
site
2. Duplicate your site into it using the
WP All-In-One Migration plugin or
Updraft Plus Migrator
3. Make changes
4. Migrate to live with a migration
plugin OR replicate changes
manually on live
LOCAL STAGING SITE
1. Import an archive of your live site
using Duplicator
2. Install DesktopServer
3. Import live site archive to run site
locally
4. Make changes
5. Push to live using Direct Deploy OR
make changes manually to live
CREATE A WORKFLOW THAT
WORKS FOR YOU.
THANK YOU!
@JAMIESCHMID
@SITELOCK
QUESTIONS?

SEE ME AFTER THIS OR AT THE AFTERPARTY!

OR ON TWITTER!
Full talk slides: tinyurl.com/staging-site-talk
Blog posts: https://www.sitelock.com/blog/?s=staging
These slides: tinyurl.com/staging-lightning-talk
@jamieschmid

More Related Content

What's hot

It's all about the UX. Announcement of KeyPublisher at eZconf
It's all about the UX. Announcement of KeyPublisher at eZconfIt's all about the UX. Announcement of KeyPublisher at eZconf
It's all about the UX. Announcement of KeyPublisher at eZconf
Stig Martin Fiskå
 
Client Side Applications with WP-API WordPress - WCMTL 2015
Client Side Applications with WP-API WordPress - WCMTL 2015Client Side Applications with WP-API WordPress - WCMTL 2015
Client Side Applications with WP-API WordPress - WCMTL 2015
Roy Sivan
 
How to gain a commercial licensed software every
How to gain a commercial licensed software everyHow to gain a commercial licensed software every
How to gain a commercial licensed software every
ניר פסי
 

What's hot (20)

[GeekTalk#2] Takaaki Mizuno - Api Url Design
[GeekTalk#2] Takaaki Mizuno - Api Url Design[GeekTalk#2] Takaaki Mizuno - Api Url Design
[GeekTalk#2] Takaaki Mizuno - Api Url Design
 
WordPress with WP Engine and the Agency Partner Program: Getting Set Up
WordPress with WP Engine and the Agency Partner Program: Getting Set UpWordPress with WP Engine and the Agency Partner Program: Getting Set Up
WordPress with WP Engine and the Agency Partner Program: Getting Set Up
 
Ember.js - Harnessing Convention Over Configuration
Ember.js - Harnessing Convention Over ConfigurationEmber.js - Harnessing Convention Over Configuration
Ember.js - Harnessing Convention Over Configuration
 
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offlineDevelop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
 
WordCamp, Cape Town 2017
WordCamp, Cape Town 2017WordCamp, Cape Town 2017
WordCamp, Cape Town 2017
 
Using Red Hat’s OpenShift PaaS to Develop Scalable Applications on AWS (DMG21...
Using Red Hat’s OpenShift PaaS to Develop Scalable Applications on AWS (DMG21...Using Red Hat’s OpenShift PaaS to Develop Scalable Applications on AWS (DMG21...
Using Red Hat’s OpenShift PaaS to Develop Scalable Applications on AWS (DMG21...
 
Demystifying Web Performance
Demystifying Web PerformanceDemystifying Web Performance
Demystifying Web Performance
 
Infrastructure Automation How to Use Chef For DevOps Success
Infrastructure Automation How to Use Chef For DevOps SuccessInfrastructure Automation How to Use Chef For DevOps Success
Infrastructure Automation How to Use Chef For DevOps Success
 
WordCamp Ottawa 2016: Updates
WordCamp Ottawa 2016: UpdatesWordCamp Ottawa 2016: Updates
WordCamp Ottawa 2016: Updates
 
SPA Flask Vue
SPA Flask VueSPA Flask Vue
SPA Flask Vue
 
It's all about the UX. Announcement of KeyPublisher at eZconf
It's all about the UX. Announcement of KeyPublisher at eZconfIt's all about the UX. Announcement of KeyPublisher at eZconf
It's all about the UX. Announcement of KeyPublisher at eZconf
 
Pain Free Frontend Development
Pain Free Frontend DevelopmentPain Free Frontend Development
Pain Free Frontend Development
 
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon LightsailDeploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
 
Client Side Applications with WP-API WordPress - WCMTL 2015
Client Side Applications with WP-API WordPress - WCMTL 2015Client Side Applications with WP-API WordPress - WCMTL 2015
Client Side Applications with WP-API WordPress - WCMTL 2015
 
Building WordPress Client Side Applications with WP and WP-API - #wcmia
Building WordPress Client Side Applications with WP and WP-API - #wcmiaBuilding WordPress Client Side Applications with WP and WP-API - #wcmia
Building WordPress Client Side Applications with WP and WP-API - #wcmia
 
How to gain a commercial licensed software every
How to gain a commercial licensed software everyHow to gain a commercial licensed software every
How to gain a commercial licensed software every
 
How to build Client Side Applications with WordPress and WP-API | #wcmia
How to build Client Side Applications with WordPress and WP-API | #wcmiaHow to build Client Side Applications with WordPress and WP-API | #wcmia
How to build Client Side Applications with WordPress and WP-API | #wcmia
 
WordCamp San Diego 2015 - WordPress, WP-API, and Web Applications
WordCamp San Diego 2015 - WordPress, WP-API, and Web ApplicationsWordCamp San Diego 2015 - WordPress, WP-API, and Web Applications
WordCamp San Diego 2015 - WordPress, WP-API, and Web Applications
 
Parallel Testing with Python with Selenium and Sauce Labs
Parallel Testing with Python with Selenium and Sauce LabsParallel Testing with Python with Selenium and Sauce Labs
Parallel Testing with Python with Selenium and Sauce Labs
 
EPiServer Oslo Meetup #7: EPiImage 2.0
EPiServer Oslo Meetup #7: EPiImage 2.0EPiServer Oslo Meetup #7: EPiImage 2.0
EPiServer Oslo Meetup #7: EPiImage 2.0
 

Similar to Dont Break Live lightning talk

SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
Knut Relbe-Moe [MVP, MCT]
 

Similar to Dont Break Live lightning talk (20)

How to prevent big disasters when updating WordPress
How to prevent big disasters when updating WordPressHow to prevent big disasters when updating WordPress
How to prevent big disasters when updating WordPress
 
Maintaining Retainers as a WordPress Developer
Maintaining Retainers as a WordPress DeveloperMaintaining Retainers as a WordPress Developer
Maintaining Retainers as a WordPress Developer
 
Keeping Local, Staging & Production Sites In Sync
Keeping Local, Staging & Production Sites In SyncKeeping Local, Staging & Production Sites In Sync
Keeping Local, Staging & Production Sites In Sync
 
Updating WordPress Themes, Plugins, and Core Safely
Updating WordPress Themes, Plugins, and Core SafelyUpdating WordPress Themes, Plugins, and Core Safely
Updating WordPress Themes, Plugins, and Core Safely
 
Code Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application MigrationsCode Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application Migrations
 
WordPress London Developer Operations For Beginners
WordPress London Developer Operations For BeginnersWordPress London Developer Operations For Beginners
WordPress London Developer Operations For Beginners
 
937079
937079937079
937079
 
O365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - MaterialO365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - Material
 
The Often Useful Somewhat Annoying World of WordPress Multisite
The Often Useful Somewhat Annoying World of WordPress MultisiteThe Often Useful Somewhat Annoying World of WordPress Multisite
The Often Useful Somewhat Annoying World of WordPress Multisite
 
Offline of web applications
Offline of web applicationsOffline of web applications
Offline of web applications
 
Offline for web - Frontend Dev Conf Minsk 2014
Offline for web - Frontend Dev Conf Minsk 2014Offline for web - Frontend Dev Conf Minsk 2014
Offline for web - Frontend Dev Conf Minsk 2014
 
WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop   WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop
 
Production ready word press
Production ready word pressProduction ready word press
Production ready word press
 
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
 
The WP Engine Developer Experience. Increased agility, improved efficiency.
The WP Engine Developer Experience. Increased agility, improved efficiency.The WP Engine Developer Experience. Increased agility, improved efficiency.
The WP Engine Developer Experience. Increased agility, improved efficiency.
 
Laravel Forge: Hello World to Hello Production
Laravel Forge: Hello World to Hello ProductionLaravel Forge: Hello World to Hello Production
Laravel Forge: Hello World to Hello Production
 
Using Wireframes
Using WireframesUsing Wireframes
Using Wireframes
 
So, you want to be a plugin developer?
So, you want to be a plugin developer?So, you want to be a plugin developer?
So, you want to be a plugin developer?
 
My website is live now what?
My website is live now what?My website is live now what?
My website is live now what?
 
php[world] 2015 Laravel 5.1: From Homestead to the Cloud
php[world] 2015 Laravel 5.1: From Homestead to the Cloudphp[world] 2015 Laravel 5.1: From Homestead to the Cloud
php[world] 2015 Laravel 5.1: From Homestead to the Cloud
 

More from Jamie Schmid

Introduction to Content Strategy - WordCamp Montreal 2016
Introduction to Content Strategy - WordCamp Montreal 2016Introduction to Content Strategy - WordCamp Montreal 2016
Introduction to Content Strategy - WordCamp Montreal 2016
Jamie Schmid
 
Structuring Content in WordPress: Against All the Odds
Structuring Content in WordPress: Against All the OddsStructuring Content in WordPress: Against All the Odds
Structuring Content in WordPress: Against All the Odds
Jamie Schmid
 

More from Jamie Schmid (20)

Content Architectures in WordPress 5
Content Architectures in WordPress 5Content Architectures in WordPress 5
Content Architectures in WordPress 5
 
Content Strategy in a Gutenberg World Lightning Talk at WordCamp Phoenix 2019
Content Strategy in a Gutenberg World   Lightning Talk at WordCamp Phoenix 2019Content Strategy in a Gutenberg World   Lightning Talk at WordCamp Phoenix 2019
Content Strategy in a Gutenberg World Lightning Talk at WordCamp Phoenix 2019
 
Introduction to WooCommerce
Introduction to WooCommerceIntroduction to WooCommerce
Introduction to WooCommerce
 
Securing your WooCommerce Site
Securing your WooCommerce SiteSecuring your WooCommerce Site
Securing your WooCommerce Site
 
WooCommerce Security - WordCamp OC 2018
WooCommerce Security - WordCamp OC 2018WooCommerce Security - WordCamp OC 2018
WooCommerce Security - WordCamp OC 2018
 
Remote Project Management WordCamp OC 2018
Remote Project Management WordCamp OC 2018Remote Project Management WordCamp OC 2018
Remote Project Management WordCamp OC 2018
 
YAY I'm Working Remotely! Now What?
YAY I'm Working Remotely! Now What?YAY I'm Working Remotely! Now What?
YAY I'm Working Remotely! Now What?
 
Making Security Make Sense to Users and Clients
Making Security Make Sense to Users and ClientsMaking Security Make Sense to Users and Clients
Making Security Make Sense to Users and Clients
 
Making Security Make Sense to Users and Clients
Making Security Make Sense to Users and ClientsMaking Security Make Sense to Users and Clients
Making Security Make Sense to Users and Clients
 
Introduction to Content Strategy: SANDCamp 2018
Introduction to Content Strategy: SANDCamp 2018Introduction to Content Strategy: SANDCamp 2018
Introduction to Content Strategy: SANDCamp 2018
 
Content Doesn't Grow on Trees - An Introduction to Content Strategy
Content Doesn't Grow on Trees - An Introduction to Content StrategyContent Doesn't Grow on Trees - An Introduction to Content Strategy
Content Doesn't Grow on Trees - An Introduction to Content Strategy
 
Introduction to Custom WordPress Themeing
Introduction to Custom WordPress ThemeingIntroduction to Custom WordPress Themeing
Introduction to Custom WordPress Themeing
 
Introduction to Content Strategy - WordCamp Montreal 2016
Introduction to Content Strategy - WordCamp Montreal 2016Introduction to Content Strategy - WordCamp Montreal 2016
Introduction to Content Strategy - WordCamp Montreal 2016
 
Content Architecture in WordPress
Content Architecture in WordPressContent Architecture in WordPress
Content Architecture in WordPress
 
Content Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content StrategyContent Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content Strategy
 
WCCBUS 2015 - Content Architecture in WordPress
WCCBUS 2015 - Content Architecture in WordPressWCCBUS 2015 - Content Architecture in WordPress
WCCBUS 2015 - Content Architecture in WordPress
 
Structuring Content in WordPress using Advanced Custom Fields
Structuring Content in WordPress using Advanced Custom FieldsStructuring Content in WordPress using Advanced Custom Fields
Structuring Content in WordPress using Advanced Custom Fields
 
Structuring Content in WordPress using Advanced Custom Fields
Structuring Content in WordPress using Advanced Custom FieldsStructuring Content in WordPress using Advanced Custom Fields
Structuring Content in WordPress using Advanced Custom Fields
 
WordPress Beginner: Choosing & Customizing Your Theme
WordPress Beginner: Choosing & Customizing Your ThemeWordPress Beginner: Choosing & Customizing Your Theme
WordPress Beginner: Choosing & Customizing Your Theme
 
Structuring Content in WordPress: Against All the Odds
Structuring Content in WordPress: Against All the OddsStructuring Content in WordPress: Against All the Odds
Structuring Content in WordPress: Against All the Odds
 

Recently uploaded

Article writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxArticle writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptx
abhinandnam9997
 
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
aagad
 

Recently uploaded (12)

The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Article writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxArticle writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptx
 
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 
The Best AI Powered Software - Intellivid AI Studio
The Best AI Powered Software - Intellivid AI StudioThe Best AI Powered Software - Intellivid AI Studio
The Best AI Powered Software - Intellivid AI Studio
 
How Do I Begin the Linksys Velop Setup Process?
How Do I Begin the Linksys Velop Setup Process?How Do I Begin the Linksys Velop Setup Process?
How Do I Begin the Linksys Velop Setup Process?
 
Pvtaan Social media marketing proposal.pdf
Pvtaan Social media marketing proposal.pdfPvtaan Social media marketing proposal.pdf
Pvtaan Social media marketing proposal.pdf
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
The AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdfThe AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdf
 
The Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case StudyThe Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case Study
 

Dont Break Live lightning talk

  • 1. DON’T BREAK LIVE USING A STAGING SITE FOR UPDATES
  • 2. JAMIE SCHMID • COMMUNITY EVANGELIST @SITELOCK • FREELANCE DESIGNER AND DEVELOPER • CONTENT ENTHUSIAST • PROUD CAT MOM IN PORTLAND, OR @JAMIESCHMID @SITELOCK
  • 3. WHAT IS A STAGING SITE? A PRIVATE COPY OF YOUR SITE FOR TESTING UPDATES, NEW FEATURES AND CHANGES, QA CHECKS, ETC STAGING LIVE
  • 4. YOU KNOW YOU NEED TO KEEP YOUR SITE UPDATED. But making updates on your live site is scary and dangerous. Things can and will break.
  • 5. HOW DOES A STAGING SITE WORK? STAGING LIVE 1. Make an exact duplicate of your live site 2. Run updates, test new plugins or themes, do QA 3. All good? Push those changes to the live site
  • 6. 1. Changes can include both physical files and database changes 2. Databases are hard to synch! 3. WordPress uses static URL’s and serialized data 4. Images need both a database
 entry, and a physical file 5. Etc, just trust me WHY IT’S NOT THAT EASY:
  • 7. 1. You need to make a replica of your site. 2. You need to put it someplace so it can run as a website 3. You need to get those
 changes to your live site WHAT IS REQUIRED?
  • 9. AUDIT YOUR SITE Caching? What is the size of your site? Any automations on the site: auto emailers? ?! ! How busy is your site? Will you potentially be overwriting orders, comments, a/b testing results Are you using version control (git?) Get familiar with your hosting! company, service level, access.
  • 10. WHAT ARE YOUR OPTIONS? Hosting 1-Click Staging Use a Plugin Standalone Site: subdomain/subfolder Local with a push to Staging/push to Live Advanced Developer Workflow
  • 11. HOSTING 1-CLICK-STAGING The easiest & fastest solution! The most expensive (in $) solution Your host needs to offer it PUSH TO LIVEPUSH TO LIVE
  • 12. WP-ENGINE 1 CLICK STAGING IN THE WP ADMIN
  • 13. SOME HOSTS THAT OFFER
 1-CLICK STAGING WPEngine Siteground Pressable Cloudways Flywheel Kinsta Godaddy SiteDistrict ..and more!
  • 14. USE A PLUGIN WP Staging: free in the repo Creates a duplicate site inside your live site via subdomain Migrates to your live site
  • 16. STANDALONE SITE:
 SUBDOMAIN/SUBFOLDER Make changes locally and push to your remote staging Ensure all is working as expected Make those same changes again on live OR push to live
  • 17. LOCAL WORDPRESS SITE Make changes on local site Ensure all is working as expected Make those same changes again on live or push to live
  • 18. RUNNING YOUR SITE ON YOUR OWN COMPUTER, USING SOFTWARE THAT ALLOWS YOUR COMPUTER TO RUN AS A SERVER. WHAT IS A LOCAL SITE? 127.0.0.1
  • 20. REPLICATING, MIGRATING, SYNCHING CHANGES Replicate: Perform the same changes you did on Staging, to live Migrate: An automated process that overwrites files or database content Synch: An advanced process that checks for changes on both sides, and resolves them into one
  • 21. MIGRATE May require URL, config, etc changes Partial overwrites are more complex Duplicator, Backup Buddy, All-in-One WP Migration, UpdraftPlus DesktopServer Direct Deploy
  • 23. SYNCHING The most complex If you have a perfect solution for this please tell me, please tell us all WPMigrateDB, WPSiteSynch
  • 25. 1. Make a schedule for doing updates 2. Use a service to track updates 3. Make all updates on staging first 4. Never break live again! A RECIPE FOR SUCCESS
  • 27. WHEN EVALUATING YOUR OPTIONS THINGS TO CONSIDER…
  • 28. How much time and resources do you have for maintenance? What is your budget? Remember: time saved = $$ saved How often will you check for core, theme and plugin updates? Often! Check for outdated plugins. How often will you perform the updates? Schedule them! Who is performing the updates? Assign them! ASK YOURSELF:
  • 29. ASK YOURSELF: How many sites do you have to manage? Do you have multiple people who need to verify changes before it can go live? How technical is your situation? Is your site in version control? How busy is your live site? Popular ecommerce sites may be continuously processing tractions or writing sessions.
  • 31. ONE CLICK STAGING 1. Pick a host with one click staging, like WP Engine 2. Confirm user rules: never update live, never add new features to live, never add new content to live 3. Create an updates schedule. Include monitoring reports 4. Pull live to staging 5. Make changes 6. Push staging to live
  • 32. DUPLICATION IN-SITE 1. Use the WP Staging plugin 2. Create a duplicate inside your live WP install 3. Make your changes to the duplicate 4. Push to live
  • 33. SUBDOMAIN STAGING 1. Create a subdomain on your main site 2. Duplicate your site into it using the WP All-In-One Migration plugin or Updraft Plus Migrator 3. Make changes 4. Migrate to live with a migration plugin OR replicate changes manually on live
  • 34. LOCAL STAGING SITE 1. Import an archive of your live site using Duplicator 2. Install DesktopServer 3. Import live site archive to run site locally 4. Make changes 5. Push to live using Direct Deploy OR make changes manually to live
  • 35. CREATE A WORKFLOW THAT WORKS FOR YOU.
  • 37. QUESTIONS?
 SEE ME AFTER THIS OR AT THE AFTERPARTY!
 OR ON TWITTER! Full talk slides: tinyurl.com/staging-site-talk Blog posts: https://www.sitelock.com/blog/?s=staging These slides: tinyurl.com/staging-lightning-talk @jamieschmid