• Resolved mcyzyk

    (@mcyzyk)


    I need to import a set of Posts with images from our development server that is inside our firewall and so not publicly accessible.

    I’d like to use the native WordPress Export/Import tool for this, especially since it can now Include Media.

    However, the resulting XML Export file contains LINKS to the images on my Dev server — but that Dev server inside the firewall and so cannot be contacted via a link and so media files cannot be downloaded from it from outside the firewall.

    A workaround?:

    Has anyone edited the XML Export file, swapping the HTML links with locations on the local file system (where I would copy a directory tree of these images in advance), then successfully performed the import? That is, can and will the native WordPress Importer pull media files from the local file system instead of over HTTPS if I edit the XML Export file accordingly?

    Thanks,

    Mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator threadi

    (@threadi)

    I haven’t tried a local retrieval with this import yet. But there is still the option of storing the project from your internal network on a public server – or just the entire upload-directory. Then you can adjust the URL in the XML to this publicly accessible URL.

    Thread Starter mcyzyk

    (@mcyzyk)

    “or just the entire upload-directory. Then you can adjust the URL in the XML to this publicly accessible URL.”

    This is what I’m going to do: I have the entire directory tree with these images intact on my local machine. I’m just going to copy that directory up to a public location, then adjust the Links in the XML Export files accordingly.

    Great idea!

    Appreciatively,

    Mark

    Thread Starter mcyzyk

    (@mcyzyk)

    Just reporting back: That technique worked!

    https://www.library.jhu.edu/earl-arnett-pens-memoir-of-his-marriage-to-singer-ethel-ennis/

    Thanks so much,

    Mark

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Import Posts With Images from Dev Server Inside Firewall’ is closed to new replies.