Failed to import media from a local wordpress site to a live one

I’ve been developing a new blog theme for a client locally on my computer and am now in the process of uploading this to the new live server. I used the wordpress export facility to export all the content from the local site and then went into the live installation and used the import facility – I checked the boxed the referred to file attachments – but no media gets imported onto the live blog. I’ve got about 255 posts and don’t fancy having to go in and set the featured image manually for each and every post.

Am I doing something wrong?
Is there a way I can upload all the media easily?

Related posts

Leave a Reply

1 comment

  1. The built-in import mechanism can only fetch file attachments that are accessible over the internet – which will normally not apply to your local WP install.
    The best option is to dump the whole database and do an MySQL import on the receiving domain. Your image files and other attachments need to be ftp-ed to the production server. However, your local and server configurations must be the same for this to work without additional measures. Better try this route some other time.
    Good luck!