WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new there and I need some help for importing a wordpress blog.

I have a old wordpress 3.1 blog (no multisites) and need to move to new hosting (a sites under multisites). I don't have the access of database so I do a wordpress export.

Then I do the wordpress import as usual, with Download and import file attachments checked. My hosting a restrictive hosting so I need to do break down the process by keep on reloading the import page (step 2). After all done I found only the last imported images are attached to the posts, all other linkages are gone.


  • does it matter that the attachment linkage is gone?
  • If I want to re-attach the attachment to the origin post, any plugin should I use?
share|improve this question

If you can install and manage plugins on this site, install wp-dbmanager - you can use this to export your full database. If it will be living on the same URL, you can use the same plugin to import the DB for the new install.

share|improve this answer
sadly that url will be different...and since the site structure is not same, I think it is not a direct mapping. I want a plugin/ importer can do the reattachment from the xml file, or allow me to attach by url, not search – vincicat Mar 26 '12 at 18:41
If all that's changing is the base URL, follow the directions at codex.wordpress.org/Changing_The_Site_URL to change the site URL. Even if you change the permalink structure after the fact, it will still have the images and other assets attached to the proper post ID's. – SickHippie Mar 26 '12 at 18:46
up vote 0 down vote accepted

Well, I found the answer by myself.

I finally get into update the attachment by myself. I found the default attachment UI is totally a pain, so I use bulk change attachment parent to change the media id when I know the post id. (It is OK for about 50 images)

The only problem with that plugin is the bulk change part doesn't works under common sense. Will fire ticket later.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.