The Case of the Disappearing Widgets

Development

I’ve migrated tons of WordPress sites in my tenure as a WordPress developer, but over the years one thing would always bother me: my widgets kept disappearing.  I’d dump the SQL database and import it to the new server only to find that every single widget had vanished.

So, I looked for a solution.

WP-Migrate-DB (despite it’s fancy title) keeps every option and SQL line when you activate it, and saves it to a file just like a regular export.  The differences are very clear:

  • Unlike a traditional export, you can define ahead of time the destination URL and even the destination file structure (/home/snv/ – not  my actual structure, by the way, but a good example).
  • It saves all of the smaller options that are normally left out of an export.

You can download it through your blog or through the repository.