Wordpress - Sample Data Import Errors

You’ve got your theme installed and now you are uploading a sample .xml file the theme developer was so nice to provide you with and yet again you get an error!

Failed to Import Error Solution 1

The “failed” to import error is usually 1 of 2 things. The first is that it could be trying to load posts or taxonomies from custom post types that do not exist yet.

  • Activate Theme: Make sure the theme you are going to use is active.
  • Double Check Theme: Make sure the theme actually includes these custom post types and taxonomies – maybe ask the developer or if you know how look yourself

Failed to Import Error Solution 2

For errors that show “Failed to import Media” the images aren’t being downloaded.

  • Did you check the box to import attachments? Before running the import did you you need to check the box that reads “download and import file attachments”.
  • Are the images accessible? It’s possible the mages aren’t accessible from the server. You could open the sample data in a text editor and try and locate one of those files and test the link in your browser. But the easiest is probably to contact the theme developer and let them know that the images aren’t downloading.