Migrations can be a scary thing with so many things to do and think about. I’m going to talk about the common tasks to have on your checklist before moving from one host to another. Also, I’m going to discuss how to migrate your site from a local install up to a publicly viewable server.
4. What are we moving?
PHP / HTML /
CSS
WordPress
Core
Plugins
Themes
JPG, PNG, GIF,
DOC, PDF
Media
POSTS
PAGES
SQL
Database
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
6. How to migrate it?
• SFTP & phpMyAdmin
• Duplicator
• Backup Buddy
• WP Migrate DB Pro
• scp rcync sed awk
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
9. Change your DNS
• Modify as Administrator
• Windows
o c:windowssystem32driversetchosts
• Apple
o /etc/hosts
• http://www.howtogeek.com/howto/27350/
beginner-geek-how-to-edit-your-hosts-file/
• https://www.whatsmydns.net/
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
11. What’s the difference?
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
WordPress.org / Self Hosted WordPress.com
Cost Variable, $5 - $20,000 Free
Themes Your choice, no restrictions Limited customizations
Plugins Your choice, no restrictions Limited, no uploading
Control Full control Limited control
Maintenance You manage / You pay for it Automattic does it for you
Backups You manage / You pay for it Automattic does it for you
SSL
Security
You manage / You pay for it Automattic gives it for you
17. Localhost to Remote Host
SFTP and Database
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
18. SFTP
• Don’t use FTP!
• Start SFTP program
• Find files in the local drives ( c:wampwww )
• Upload files to web accessible area
o htdocs, public_html, www
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
30. WP Migrate DB Pro
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
31. WP Migrate DB Pro
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
32. deliciousbrains.com
• Personal does not
include media files
• Saves you time
• Limited time use
coupon
• https://deliciousbrains.com/
wp-migrate-db-
pro/?coupon=WCTO15
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
35. White screen of death?
• Update all plugins, themes, and WP core
• Check php version changes
• Deactivate all plugins
• Deactivate the current theme - switch to 2015
• Reset permalinks
• Check .htaccess file – Compare against the codex
• index.html & index.php
• .maintenance
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO
36. White screen of death?
• Modify wp-config.php - add:
o define(“WP_DEBUG”, true);
o define( “WP_DEBUG_DISPLAY”, true );
• Check the error log
o Accessible via STFP
o CPanel
Oct. 4, 2015WordCamp Toronto #WCYYZ #WCTO