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

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!

Leave a Comment