Any views expressed within media held on this service are those of the contributors, should not be taken as approved or endorsed by the University, and do not necessarily reflect the views of the University in respect of any particular issue.

WordPress Blog Export and Import

I have been experimenting with export and reimport of WordPress blog posts and media content. If Dashboard -> Tools -> Export (or under Dashboard -> Settings -> Export) was used to export “All” content and then the new destination site import occurred then I had believed that media such as images were taken over and put in the media library, but that the links/URLs in blog posts continued to point to the previous site. I now think there must be a two stage process to a full import of the posts and media.

  1. Import of the blog posts and media/images into the media library. [Takes a few minutes after which you are informed the import is complete.]
  2. Redirection of all the internal image URLs to the new local media library content. [Was completed overnight and no notice was sent to indicate this.]

An export and reimport of later content will just add new posts and media and not make duplicate entries. This is important as the WordPress exporter seems to only allow a selective (e.g. data range) export of specific content such as posts and media, while the “All” export copies the entire blog to the export file (which is XML based). Unfortunately there can be a limit on the target site importer (15MB for the export/import file in the case of wordpress.com and 10MB for blogs.ed.ac.uk). My own blog is close to that limit as of today.

I note that my image rich blog of around 700 posts when imported to a wordpress.com blog uses up about 1GB of space (of the 3GB limit allowed there for free accounts).

Update: June 2020: Export of an XML archive of the contents of blogs.inf.ed.ac.uk/atate and then reimport to wordpress.com blogs now appears to allow for XML just over 15MB in size and works fine.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

css.php

Report this page

To report inappropriate content on this page, please use the form below. Upon receiving your report, we will be in touch as per the Take Down Policy of the service.

Please note that personal data collected through this form is used and stored for the purposes of processing this report and communication with you.

If you are unable to report a concern about content via this form please contact the Service Owner.

Please enter an email address you wish to be contacted on. Please describe the unacceptable content in sufficient detail to allow us to locate it, and why you consider it to be unacceptable.
By submitting this report, you accept that it is accurate and that fraudulent or nuisance complaints may result in action by the University.

  Cancel