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

So i have a uploads DIR from a WP install. I want to migrate that to my new site, retaining all the old paths - so if something is in 2011/08 that path is kept and the file registered in the media section of WP admin

share|improve this question
Do you need to migrate ONLY the attachments? – Brian Fegter Sep 2 '12 at 4:00

If the images are attached to posts, when you export/import your WP data, there's a happy checkbox for pulling in the images.

If you just copied over the DB and all, just FTP the images over and they're fine.

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.