Import media to online WordPress from local development

I have a site being developed locally and I want to import the contents to an online installation. I used wordpress “import” but it cant get the media files. Is there any “wordpress” was of doing this or will I have to get access to my LDE from outside or upload the entire installation which I would rather avoid?

1
1

When I use WordPress Import in this cases, this is what I do:

  • Export the XML in localhost.

  • Open the exported file in a text editor.

  • Search and replace http://localhost/wp-content/uploads/ for http://example.com/custom-temporary-folder/.

  • Upload the uploads folder via FTP to the custom-temporary-folder.

  • Perform the Import in example.com using the modified XML file.

Leave a Comment