Migrations can be a scary thing with so many things to do and think about. I’m going to talk some specifics about migrating from WordPress.com to a WordPress.com self-hosted site. After we’ll discuss the details of migrating a running site from one host to another. Also, I’ll talk about when you want to migrate content from a personal test copy of the site over to the publicly viewable version.
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
On the Move, Migrations Made Simple
1. On The Move
Migrations Made Simple
Jonathan Perlman - @jpurpleman
WordCamp Rochester 2016
http://jpurpleman.ca/
2. What’s covered…
October 15, 2016WordCamp Rochester
• WordPress.com to self-hosted
• DNS
• Transferring files and data
• Transferring via duplicator
• Transferring data many times
• Check your site
• Resources
6. What’s the difference?
October 15, 2016WordCamp Rochester
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
14. Override 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.tekrevue.com/tip/edit-hosts-file-mac-os-x/
• https://www.whatsmydns.net/
October 15, 2016WordCamp Rochester
15. Windows
October 15, 2016WordCamp Rochester
• Using the Windows Logo use the Start Menu /
Screen and search for Notepad
• Right click Notepad and “Run as Administrator”
c:windowssystem32driversetchosts
17. Apple
• Use the app called GasMask from Clockwise
• Download
o http://clockwise.ee/
• Tutorial
o http://www.gilsmethod.com/how-to-edit-hosts-
files-in-mac-os-x-without-the-headaches
October 15, 2016WordCamp Rochester
19. What are we moving?
PHP / HTML /
CSS
WordPress
Core
Plugins
Themes
JPG, PNG, GIF,
DOC, PDF
Media
POSTS
PAGES
SQL
Database
October 15, 2016WordCamp Rochester
20. How to migrate it?
With WordPress Plugins Without WordPress
October 15, 2016WordCamp Rochester
• Duplicator
• Backup Buddy
• WP Migrate DB Pro
• File Transfer Program
o FileZilla
o CyberDuck
o Transmit
• Database client
o phpMyAdmin
o HiediSQL
21. File Transfer
• Don’t use FTP!
• Start SFTP program
• Download the files from the web accessible area
o htdocs, public_html, www
• Put the files in the local hard drive
o Desktop
o c:wampwwwwordpress
October 15, 2016WordCamp Rochester
22. FTP – Upload and Download
October 15, 2016WordCamp Rochester
28. Configure wp-config.php
• Rename wp-config-sample.php to wp-config.php
• Edit wp-config.php with NotePad++, by right clicking the file.
• Change lines 23, 26, 29
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', '');
/** MySQL hostname */
define('DB_HOST', 'localhost');
October 15, 2016WordCamp Rochester
43. Login to the database
• Go to http://localhost/phpmyadmin
October 15, 2016WordCamp Rochester
44. Create a new database
1 Create a New
database
2 Give the database
a name: wordpress
o Lowercase
o No spaces – use
underscores
o No special characters
October 15, 2016WordCamp Rochester
56. 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
October 15, 2016WordCamp Rochester
57. 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
October 15, 2016WordCamp Rochester