• I have a problem migrating from development to production enviroment.

    When I do a version upgrade, I want to import all content from the production environment into the development, and then replace the production server (files and DB), since part of the version upgrade has DB changes (new plugins, shortcodes in pages etc…)

    I use Tools -> Export. Problem is, there is no Media export. I can copy the files from wp-content/upload and export from wp_posts all that have post_type=attachment, but since Media items are associated with posts by ID, and the posts don’t import with the same ID’s (since this is an unique autonumber field), the associations are lost.

    Does anyone know any solution to this? to me it sounds like a common problem

  • The topic ‘Exporting Media from WordPress’ is closed to new replies.