Monday, January 18, 2016

Wordpress Migration

When migrating Wordpress between servers, usually when moving from a staging to production database for the first time, I'll follow these steps:


  • Install a fresh version of Wordpress on the production server
  • Move wp-content folders via FTP: uploads, themes, plugins (if desired)
  • Export the MySQL database from the staging MySQL server, rename hostnames
  • Import the MySQL database to the production

In general this works pretty well. However I've never been able to get the media library files to successfully load on the new install. Since I uploaded all the uploads folders, the paths to the JPGs work. But in the Media Library they all show up w/o thumbnails. 

After much searching I found a plugin that reattaches the thumbnails in the new install. Tried it out and it works like a charm!


Wordpress Force Generate Thumbnails

No comments:

Post a Comment