How to migrate a WordPress installation from one site to another, including all images?

  1. Ensure that the NEW site is already running the same Theme, and all appropriate Plugins.
  2. Generate your export file from your OLD site, ensuring that you export “all content”.
  3. Import the file into the NEW site, ensuring that you enable/check the option to download/import all attachments. (It is on the same import step during which you assign Post authors.)

Notes:

  1. If your NEW site isn’t running a Theme that has Post Thumbnail support enabled, you might not get your “featured image” post meta exactly as expected.
  2. (Likewise, if your OLD site has Custom Post Types, Custom Taxonomies, or Post Format support enabled, you will need to ensure that these features are enabled on the NEW site, in order to ensure a proper import of these data.)
  3. If you don’t enable the option (disabled by default) to download/import attachments, then attachments will be instead linked to the OLD site.

Leave a Comment