import not working with embedded image urls

  • Unknown's avatar

    I am trying to import all posts and images from fightzone-stockholm<dot>com to fightzone-stockholm<dot>com to fightzonemail<dot>wordpress<dot>com

    Imports of the posts went successfully, but the images just have a link to the old URL like this: http://fightzone-stockholm.com/wp-content/uploads/2015/08/11951188_1645072089072701_2390938445922956728_n.jpg

    The images are inserted with the ‘faster image insert’ plugin and they are therefore uploaded to the media folder and then inserted as full direct URL’s in the posts.

    My zipped xml file can be found @ https://anonfiles.com/file/4335104d193c0596b3a6cbd0fbab09b8

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    At your old blog, were those images inserted as attachments to your posts, from the media library? I’m not sure how that plugin inserts images.

    Also, your previous site fightzone-stockholm.com is down at the moment. At the time of import, was the website up and accessible? Because the importer tries to fetch image attachments and the process can fail if the site isn’t accessible.

    You might want to try again once the site is up. I’m tagging this thread for Staff attention nonetheless.

  • Unknown's avatar

    Hi ethis,

    The plugin inserts images in the same way that embedding them does, by adding them to the media library and then appending the URL of the image to the post. Below is an image added with wordpress native image embed:

    <a href="http://fightzone-stockholm.com/wp-content/uploads/2015/08/11038007_1645072072406036_1838269530662875020_n.jpg"><img src="http://fightzone-stockholm.com/wp-content/uploads/2015/08/11038007_1645072072406036_1838269530662875020_n.jpg" alt="11038007_1645072072406036_1838269530662875020_n" width="960" height="540" class="alignnone size-full wp-image-1257" /></a>

    And this is from the plugin:

    <a href="http://fightzone-stockholm.com/wp-content/uploads/2015/08/11038007_1645072072406036_1838269530662875020_n.jpg"><img src="http://fightzone-stockholm.com/wp-content/uploads/2015/08/11038007_1645072072406036_1838269530662875020_n.jpg" alt="" width="960" height="540" class="alignnone size-full wp-image-1257" /></a>
    <p></p>

    The blog was up all the time, and I got a nice confirmation email of the success of the import.

  • Let’s wait for a staff member to get to this thread. There have been issues in the past where the ‘import success’ message was sent, but the image source was still linking back to the old blog, rather than the new media library, so it will help if you check your media library and see if the images are imported.

    If not, could be an issue with site not being accessible, as the importer had access to your XML (posts etc., so success) but not the images.

  • Hi @fightzonemail, thanks for including the xml file. I’ll contact you via ticket.

  • The topic ‘import not working with embedded image urls’ is closed to new replies.