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, Website Migrations Debunked

657 views

Published on

Migrations are a thing we have to do sometimes, but dread doing. You ask yourself before, will it go okay? You think later, did I forget anything?

In this talk I’m going to give you some key insights into migrating information from WordPress.com to a WordPress.org self-hosted site. After we’ll discuss the details of migrating a public web site from one host to another. I’ll give you the tools to test the migration before completely flipping the switch. Lastly, we’ll briefly discuss when you want to migrate content from a development copy of the site over to your public site.

Published in: Internet
  • Be the first to comment

  • Be the first to like this

On the Move, Website Migrations Debunked

  1. 1. On The Move, Migrations Debunked Jonathan Perlman - @jpurpleman WordCamp Portland, Maine 2017 https://jpurpleman.ca/
  2. 2. What’s covered… May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca • WordPress.com to self-hosted • Transferring files and data • Transferring via duplicator • Transferring data many times • DNS • Check your site • Resources
  3. 3. About me Developer 15 years Teacher 10 years Trekie Since ST:TNG May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  4. 4. May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca ENGAGE!
  5. 5. WordPress.com to WordPress.org May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  6. 6. What’s the difference? May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca WordPress.org Self Hosted WordPress.com Cost $5, $500, $5000, $50,000 Free or paid monthly Themes No restrictions Limited customizations Plugins No restrictions Limited, no uploading Control Full control Limited control Maintenance You manage Automattic does it for you Backups You manage Automattic does it for you SSL Security You manage Automattic gives it for you
  7. 7. Export From WordPress.com May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  8. 8. Export From WordPress.com May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  9. 9. Import to WordPress.org May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  10. 10. Import to WordPress.org May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  11. 11. Post Import • Themes o Theme Directory – https://wordpress.org/theme • Plugins o Plugin Directory - https://wordpress.org/plugins o JetPack • Maintenance o Update, update, update! o Backups o SSL? • Higher a freelancer or company for maintenance May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  12. 12. Transferring Files and Data May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  13. 13. What are we moving? HTM, CSS, JS, PHP Code JPG, PNG, GIF, DOC, PDF Media Library SQL Database Content May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  14. 14. How to migrate it? With WordPress Plugins Without WordPress May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca • Duplicator • Backup Buddy • Desktop Server • File Transfer Program o FileZilla o CyberDuck o Transmit • Database client o phpMyAdmin o HiediSQL
  15. 15. FTP – Upload and Download • Download the files from the web accessible area o htdocs, public_html, www May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  16. 16. Database May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  17. 17. Export May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  18. 18. Create New Database May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  19. 19. Import Database May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  20. 20. Configure wp-config.php • Edit wp-config.php with a text editor. • Change lines 23, 26, 29 starting with “define” /** 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'); May 27, 2017 WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  21. 21. Change WordPress Location May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca • https://interconnectit.com/products/ search-and-replace-for-wordpress-databases/
  22. 22. Transfer Via Duplicator May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  23. 23. http://wpcourse.dawsoncollege.qc.ca/wp4000 May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  24. 24. Install Duplicator May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  25. 25. Create New May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  26. 26. Create New May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  27. 27. Storage Config May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  28. 28. Archive Config May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  29. 29. Installer Config May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  30. 30. Scan Complete May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  31. 31. Building Package May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  32. 32. Package Complete May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  33. 33. See downloaded files May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  34. 34. Create wordpress folder May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  35. 35. Login to the database • Go to http://localhost/phpmyadmin May 27, 2017 WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  36. 36. 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 May 27, 2017 WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  37. 37. install.php May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  38. 38. installer.php May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  39. 39. Processing Files May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  40. 40. Update Files and Database May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  41. 41. Test Site! May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  42. 42. http://localhost/wordpress May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  43. 43. Transferring data many times May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  44. 44. deliciousbrains.com May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  45. 45. wpsitesync.com May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  46. 46. DNS Domain Name System May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  47. 47. Setting Name Servers May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  48. 48. Setting DNS Records May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  49. 49. Override your DNS May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca http://www.howtogeek.com/howto/27350/ beginner-geek-how-to-edit-your-hosts-file/
  50. 50. Windows May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca • Using the Windows Logo use the Start Menu / Screen and search for Notepad • Right click Notepad and “Run as Administrator” c:windowssystem32driversetchosts
  51. 51. 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 May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  52. 52. Playing the waiting game May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  53. 53. Check your site… May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  54. 54. White screen of death? • Update all plugins, themes, and WP core • Check php version changes • Deactivate all plugins • Deactivate the current theme - switch to 2017 • Reset permalinks • Check .htaccess file – Compare against the codex • index.html & index.php • .maintenance May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  55. 55. 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 May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  56. 56. Resources May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  57. 57. Resources • http://www.wpbeginner.com/wp-tutorials/ how-to-move-wordpress-to-a-new-host-or-server-with- no-downtime/ • https://codex.wordpress.org/Moving_WordPress • https://wordpress.org/support May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca
  58. 58. May 27, 2017WordCamp Portland, Maine 2017 | https://www.jpurpleman.ca

×