Import Images to new Wordpress site with folder hierarchy intact?
Posted on 2012-04-02
I created a new Wordpress site for someone, and exported all of their posts and pages from their old worpress site and then imported them to the new site. I did not consider the images, so when I put the new site up on the domain the images were broken. I had saved the entire old site files and database, so when I uploaded the missing images by uploading the wp-content/uploads/2010/... folders from the old site to the new site, the images were restored.
The problem is that now they do not appear in the Media Library on the new site. Is there a way to get them to appear and be accessible from there while maintaining the existing file structure?
Thanks in advance!