Submit Search
Upload
WordPress Migrations Done Right
•
1 like
•
921 views
AI-enhanced title
Daniel Kanchev
Follow
"WordPress Migrations Done Right" - my talk from WCEU
Read less
Read more
Software
Report
Share
Report
Share
1 of 54
Download now
Download to read offline
Recommended
Day 2-some fun coding
Day 2-some fun coding
Open Knowledge Nepal
Backing up thousands of containers
Backing up thousands of containers
Marian Marinov
MeshU Thin & Rack
MeshU Thin & Rack
guestbac5dc
Install apache on centos
Install apache on centos
hengko
Haproxy - zastosowania
Haproxy - zastosowania
Łukasz Jagiełło
Puppet
Puppet
Łukasz Jagiełło
Docker, c'est bonheur !
Docker, c'est bonheur !
Alexandre Salomé
Drupal from scratch
Drupal from scratch
Rovic Honrado
Recommended
Day 2-some fun coding
Day 2-some fun coding
Open Knowledge Nepal
Backing up thousands of containers
Backing up thousands of containers
Marian Marinov
MeshU Thin & Rack
MeshU Thin & Rack
guestbac5dc
Install apache on centos
Install apache on centos
hengko
Haproxy - zastosowania
Haproxy - zastosowania
Łukasz Jagiełło
Puppet
Puppet
Łukasz Jagiełło
Docker, c'est bonheur !
Docker, c'est bonheur !
Alexandre Salomé
Drupal from scratch
Drupal from scratch
Rovic Honrado
Bash Scripting Workshop
Bash Scripting Workshop
Ahmed Magdy Ezzeldin, MSc.
Cassandra Cluster Manager (CCM)
Cassandra Cluster Manager (CCM)
Chris Lohfink
My SQL 101
My SQL 101
Dave Stokes
Chap 19 web
Chap 19 web
Kenny (netman)
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Develcz
Importance of linux system fundamental in technical documentation reading
Importance of linux system fundamental in technical documentation reading
Kenny (netman)
Beyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with Puppet
lutter
nouka inventry manager
nouka inventry manager
Toshiaki Baba
Dbbarang
Dbbarang
Dianovritzky Emir
Really useful linux commands
Really useful linux commands
Michael J Geiser
Comets notes
Comets notes
Ilija Dukovski
Curl Tutorial
Curl Tutorial
Ankireddy Polu
Configuration Management with Cfengine
Configuration Management with Cfengine
Steven Kreuzer
HTTP 완벽가이드- 13 다이제스트 인증
HTTP 완벽가이드- 13 다이제스트 인증
박 민규
Perl dancer
Perl dancer
Marian Marinov
Cara instal
Cara instal
عبد المنان الشافعي
Redis as a message queue
Redis as a message queue
Brandon Lamb
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertor
Toshiaki Baba
Docker command
Docker command
Eric Ahn
Tools used for debugging
Tools used for debugging
Marian Marinov
DrupalCon Barcelona 2015
DrupalCon Barcelona 2015
Daniel Kanchev
WordPress website optimization
WordPress website optimization
Daniel Kanchev
More Related Content
What's hot
Bash Scripting Workshop
Bash Scripting Workshop
Ahmed Magdy Ezzeldin, MSc.
Cassandra Cluster Manager (CCM)
Cassandra Cluster Manager (CCM)
Chris Lohfink
My SQL 101
My SQL 101
Dave Stokes
Chap 19 web
Chap 19 web
Kenny (netman)
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Develcz
Importance of linux system fundamental in technical documentation reading
Importance of linux system fundamental in technical documentation reading
Kenny (netman)
Beyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with Puppet
lutter
nouka inventry manager
nouka inventry manager
Toshiaki Baba
Dbbarang
Dbbarang
Dianovritzky Emir
Really useful linux commands
Really useful linux commands
Michael J Geiser
Comets notes
Comets notes
Ilija Dukovski
Curl Tutorial
Curl Tutorial
Ankireddy Polu
Configuration Management with Cfengine
Configuration Management with Cfengine
Steven Kreuzer
HTTP 완벽가이드- 13 다이제스트 인증
HTTP 완벽가이드- 13 다이제스트 인증
박 민규
Perl dancer
Perl dancer
Marian Marinov
Cara instal
Cara instal
عبد المنان الشافعي
Redis as a message queue
Redis as a message queue
Brandon Lamb
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertor
Toshiaki Baba
Docker command
Docker command
Eric Ahn
Tools used for debugging
Tools used for debugging
Marian Marinov
What's hot
(20)
Bash Scripting Workshop
Bash Scripting Workshop
Cassandra Cluster Manager (CCM)
Cassandra Cluster Manager (CCM)
My SQL 101
My SQL 101
Chap 19 web
Chap 19 web
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Importance of linux system fundamental in technical documentation reading
Importance of linux system fundamental in technical documentation reading
Beyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with Puppet
nouka inventry manager
nouka inventry manager
Dbbarang
Dbbarang
Really useful linux commands
Really useful linux commands
Comets notes
Comets notes
Curl Tutorial
Curl Tutorial
Configuration Management with Cfengine
Configuration Management with Cfengine
HTTP 완벽가이드- 13 다이제스트 인증
HTTP 완벽가이드- 13 다이제스트 인증
Perl dancer
Perl dancer
Cara instal
Cara instal
Redis as a message queue
Redis as a message queue
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertor
Docker command
Docker command
Tools used for debugging
Tools used for debugging
Viewers also liked
DrupalCon Barcelona 2015
DrupalCon Barcelona 2015
Daniel Kanchev
WordPress website optimization
WordPress website optimization
Daniel Kanchev
Challenges Building The New Joomla! Demo & Free Hosting Platform
Challenges Building The New Joomla! Demo & Free Hosting Platform
Daniel Kanchev
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Daniel Kanchev
Are you ready to be hacked?
Are you ready to be hacked?
Daniel Kanchev
Hidden Secrets For A Hack-Proof Joomla! Site
Hidden Secrets For A Hack-Proof Joomla! Site
Daniel Kanchev
How to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! Site
Daniel Kanchev
8 Most Common Joomla! Hacks and How to Avoid Them
8 Most Common Joomla! Hacks and How to Avoid Them
Daniel Kanchev
Sofia WP User Group Presentation
Sofia WP User Group Presentation
Daniel Kanchev
Drupal8 + AngularJS
Drupal8 + AngularJS
Daniel Kanchev
Viewers also liked
(10)
DrupalCon Barcelona 2015
DrupalCon Barcelona 2015
WordPress website optimization
WordPress website optimization
Challenges Building The New Joomla! Demo & Free Hosting Platform
Challenges Building The New Joomla! Demo & Free Hosting Platform
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Are you ready to be hacked?
Are you ready to be hacked?
Hidden Secrets For A Hack-Proof Joomla! Site
Hidden Secrets For A Hack-Proof Joomla! Site
How to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! Site
8 Most Common Joomla! Hacks and How to Avoid Them
8 Most Common Joomla! Hacks and How to Avoid Them
Sofia WP User Group Presentation
Sofia WP User Group Presentation
Drupal8 + AngularJS
Drupal8 + AngularJS
Similar to WordPress Migrations Done Right
bootstrapping containers with confd
bootstrapping containers with confd
m_richardson
Cooking with Chef
Cooking with Chef
Ken Robertson
Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1
Alessandro Pilotti
Dc kyiv2010 jun_08
Dc kyiv2010 jun_08
Andrii Podanenko
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and Problems
Andrii Lundiak
Wordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccion
Sysdig
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OS
Siddharth Ram Dinesh
Ubic
Ubic
Vyacheslav Matyukhin
Ubic-public
Ubic-public
Vyacheslav Matyukhin
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)
Ben Hall
Puppet Camp 2012
Puppet Camp 2012
Server Density
Harmonious Development: Via Vagrant and Puppet
Harmonious Development: Via Vagrant and Puppet
Achieve Internet
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command line
Behzod Saidov
AMS Node Meetup December presentation Phusion Passenger
AMS Node Meetup December presentation Phusion Passenger
icemobile
Workshop Consul .- Service Discovery & Failure Detection
Workshop Consul .- Service Discovery & Failure Detection
Vincent Composieux
Converting Your Dev Environment to a Docker Stack - php[world]
Converting Your Dev Environment to a Docker Stack - php[world]
Dana Luther
Vagrant for real codemotion (moar tips! ;-))
Vagrant for real codemotion (moar tips! ;-))
Michele Orselli
The Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/Press
Jeroen van Dijk
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Anant Shrivastava
[CB16] 80時間でWebを一周:クロムミウムオートメーションによるスケーラブルなフィンガープリント by Isaac Dawson
[CB16] 80時間でWebを一周:クロムミウムオートメーションによるスケーラブルなフィンガープリント by Isaac Dawson
CODE BLUE
Similar to WordPress Migrations Done Right
(20)
bootstrapping containers with confd
bootstrapping containers with confd
Cooking with Chef
Cooking with Chef
Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1
Dc kyiv2010 jun_08
Dc kyiv2010 jun_08
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and Problems
Wordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccion
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OS
Ubic
Ubic
Ubic-public
Ubic-public
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)
Puppet Camp 2012
Puppet Camp 2012
Harmonious Development: Via Vagrant and Puppet
Harmonious Development: Via Vagrant and Puppet
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command line
AMS Node Meetup December presentation Phusion Passenger
AMS Node Meetup December presentation Phusion Passenger
Workshop Consul .- Service Discovery & Failure Detection
Workshop Consul .- Service Discovery & Failure Detection
Converting Your Dev Environment to a Docker Stack - php[world]
Converting Your Dev Environment to a Docker Stack - php[world]
Vagrant for real codemotion (moar tips! ;-))
Vagrant for real codemotion (moar tips! ;-))
The Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/Press
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web Application
[CB16] 80時間でWebを一周:クロムミウムオートメーションによるスケーラブルなフィンガープリント by Isaac Dawson
[CB16] 80時間でWebを一周:クロムミウムオートメーションによるスケーラブルなフィンガープリント by Isaac Dawson
Recently uploaded
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
ICS
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
stazi3110
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
MyIntelliSource, Inc.
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
VICTOR MAESTRE RAMIREZ
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
Wave PLM
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
OPEN KNOWLEDGE GmbH
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
kalichargn70th171
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
Fatema Valibhai
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
Cionsystems
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
BradBedford3
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
Andolasoft Inc
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
kalichargn70th171
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Arshad QA
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
harshavardhanraghave
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
shikhaohhpro
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
joe51371421
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
Jhone kinadey
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
Arshad QA
Recently uploaded
(20)
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
WordPress Migrations Done Right
1.
WORDPRESS MIGRATIONS DONE
RIGHT
2.
3.
4.
@dvkanchev siteground.com
5.
1. PREPARATION 2.
DRY RUN 3. REAL MIGRATION
6.
the PREPARATION
7.
WEBSITE TRAFFIC
8.
USERS’ HABITS
9.
PROMOTIONS
10.
ASK USERS WHEN
TO MIGRATE
11.
INFORM EVERYONE
12.
INFORM EVERYONE 1.
Notify Existing Users
13.
PREPARE FOR DOWNTIME
14.
PREPARE FOR DOWNTIME
1. Create a Maintenance Page
15.
the PREPARATION Recap
16.
Choose The Best
Time Inform Your Visitors Prepare For Downtime
17.
the DRY RUN
18.
WHAT IS A
DRY RUN MIGRATION?
19.
ALWAYS PERFORM A
DRY RUN !!!
20.
21.
CREATE BACKUP
22.
CREATE BACKUP 1.
USE SSH COMMANDS 2. USE WORDPRESS PLUGINS 3. USE PLATFORM TOOLS
23.
MY CHOICE mysqldump
danielka_wslp254 > db_backup.sql ! tar zcvf backup.tar.gz public_html
24.
TRANSFER BACKUP
25.
MY CHOICE rsync
-e "ssh -p 22" -rlptDH --delete /home/BACKUP_FILE server.com:/home/
26.
OTHER TOOLS 1.
WordPress Plugins 2. WP-CLI 3. cPanel pkgacct/restorepkg 4. FTP, scp, etc.
27.
RESTORE BACKUP
28.
TEST FROM NEW
SERVER
29.
LOCAL HOSTS FILE
181.224.135.75 domain.com 181.224.135.75 www.domain.com 181.224.128.31 shop.domain.com
30.
NOT INVENTED while
($WP_broken=TRUE) { wp_resolve_issue(); $Damn_it++; }
31.
EXAMPLE 1 PHP
SERIALIZED DATA
32.
Before Migration After
Migration a:2:{i:0;s:11:”website.com”;i:1;s:0:””;} a:2:{i:0;s:11:”new.website.com”;i:1;s:0:””;}
33.
SOLUTIONS 1. WP-CLI
wp search-replace domain.com new.domain.com 2. http://goo.gl/E4R4Wh
34.
EXAMPLE 2 SPECIALIZED
WP HOSTS
35.
WP-CONFIG.PHP $varnish=array (
0 => 'pod-1191', ); $memcached_servers=array (155.2.4.1 ); define( ‘ROOT_FOLDER', '/nas/wp' );
36.
the DRY RUN
Recap
37.
What Is a
Dry Run? Backup->Transfer->Restore Test And Resolve Issues
38.
the REAL MIGRATION
39.
MAINTENANCE MODE
40.
SOME .htaccess TRICKS
41.
THE CODE RewriteEngine
On RewriteCond %{REMOTE_ADDR} !^123.56.89.12 RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f RewriteCond %{DOCUMENT_ROOT}/maintenance.enable -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /maintenance.html [R=503,L] ErrorDocument 503 /maintenance.html Header Set Retry-After “14400" Header Set Cache-Control "max-age=0, no-store"
42.
FINAL DATA SYNC
43.
FINAL DATA SYNC
rsync -e "ssh -p 22" -aHp -- delete /home/SITE/ server.com:/home/SITE/
44.
DNS PROPAGATION
45.
DNS PROPAGATION OLD
SERVER NEW SERVER
46.
SOLUTION 1 REMOTE
MYSQL OLD SERVER NEW SERVER
47.
SOLUTION 2 IPTABLES
REDIRECT OLD SERVER NEW SERVER
48.
IPTABLES TRAFFIC REDIRECT
sysctl -w net.ipv4.ip_forward=1 iptables -P FORWARD ACCEPT iptables -F FORWARD iptables -t nat -F PREROUTING iptables -t nat -F POSTROUTING iptables -t nat -I PREROUTING -j DNAT -d $OLD_IP --to $NEW_IP iptables -t nat -I POSTROUTING -j SNAT -d $NEW_IP --to $OLD_IP
49.
FINAL CHECKS AND
MODIFICATIONS
50.
the REAL Recap
MIGRATION
51.
Maintenance Mode Final
Data Sync DNS and Data Loss
52.
FAQ
53.
QUESTIONS ?
54.
THANK YOU! @dvkanchev
daniel.k@siteground.com
Download now