Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

On the Move, Migrations Made Simple

1,680 views

Published on

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.

Published in: Internet
  • Be the first to comment

  • Be the first to like this

On the Move, Migrations Made Simple

  1. 1. On The Move Migrations Made Simple Jonathan Perlman - @jpurpleman WordCamp Rochester 2016 http://jpurpleman.ca/
  2. 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
  3. 3. About me Developer 14 years Teacher 9 years Trekie Since ST:TNG October 15, 2016WordCamp Rochester
  4. 4. October 15, 2016WordCamp Rochester ENGAGE!
  5. 5. WordPress.com to WordPress.org October 15, 2016WordCamp Rochester
  6. 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
  7. 7. Export October 15, 2016WordCamp Rochester
  8. 8. Export October 15, 2016WordCamp Rochester
  9. 9. Import October 15, 2016WordCamp Rochester
  10. 10. Import October 15, 2016WordCamp Rochester
  11. 11. DNS Domain Name System October 15, 2016WordCamp Rochester
  12. 12. Name Servers October 15, 2016WordCamp Rochester
  13. 13. DNS October 15, 2016WordCamp Rochester
  14. 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. 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
  16. 16. Adding the entry October 15, 2016WordCamp Rochester
  17. 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
  18. 18. Transferring Files and Data October 15, 2016WordCamp Rochester
  19. 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. 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. 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. 22. FTP – Upload and Download October 15, 2016WordCamp Rochester
  23. 23. Database • phpMyAdmin, HeidiSQL, Navicat, MySql Workbench October 15, 2016WordCamp Rochester
  24. 24. October 15, 2016WordCamp Rochester
  25. 25. October 15, 2016WordCamp Rochester
  26. 26. October 15, 2016WordCamp Rochester
  27. 27. Configure wp-config.php October 15, 2016WordCamp Rochester
  28. 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
  29. 29. Change WordPress Location October 15, 2016WordCamp Rochester • https://interconnectit.com/products/ search-and-replace-for-wordpress-databases/
  30. 30. Transfer Via Duplicator October 15, 2016WordCamp Rochester
  31. 31. http://wpcourse.dawsoncollege.qc.ca/wp4000 October 15, 2016WordCamp Rochester
  32. 32. Install Duplicator October 15, 2016WordCamp Rochester
  33. 33. Create New October 15, 2016WordCamp Rochester
  34. 34. Create New October 15, 2016WordCamp Rochester
  35. 35. Storage Config October 15, 2016WordCamp Rochester
  36. 36. Archive Config October 15, 2016WordCamp Rochester
  37. 37. Installer Config October 15, 2016WordCamp Rochester
  38. 38. Scan Complete October 15, 2016WordCamp Rochester
  39. 39. Building Package October 15, 2016WordCamp Rochester
  40. 40. Package Complete October 15, 2016WordCamp Rochester
  41. 41. See downloaded files October 15, 2016WordCamp Rochester
  42. 42. Create wordpress folder October 15, 2016WordCamp Rochester
  43. 43. Login to the database • Go to http://localhost/phpmyadmin October 15, 2016WordCamp Rochester
  44. 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
  45. 45. install.php October 15, 2016WordCamp Rochester
  46. 46. Installer.php October 15, 2016WordCamp Rochester
  47. 47. Processing Files October 15, 2016WordCamp Rochester
  48. 48. Update Files and Database October 15, 2016WordCamp Rochester
  49. 49. Test Site! October 15, 2016WordCamp Rochester
  50. 50. http://localhost/wordpress October 15, 2016WordCamp Rochester
  51. 51. Transferring data many times October 15, 2016WordCamp Rochester
  52. 52. Process Development Production October 15, 2016WordCamp Rochester
  53. 53. https://deliciousbrains.com October 15, 2016WordCamp Rochester
  54. 54. Check your site… October 15, 2016WordCamp Rochester
  55. 55. 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
  56. 56. 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
  57. 57. Resources October 15, 2016WordCamp Rochester
  58. 58. Resources • https://codex.wordpress.org/Moving_WordPress • http://www.jasonbobich.com/web-design/ moving-wordpress-to-a-new-server/ October 15, 2016WordCamp Rochester
  59. 59. October 15, 2016WordCamp Rochester

×