Solved

Import Images to new Wordpress site with folder hierarchy intact?

Posted on 2012-04-02
3
399 Views
Last Modified: 2012-06-27
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!
0
Comment
Question by:ksoszka
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 37799286
The reason they don't appear in the media library is because you merely copied them into place instead of uploading them through the Media interface.  The easiest fix is via a plugin:

http://wordpress.org/extend/plugins/add-from-server/
0
 

Author Comment

by:ksoszka
ID: 37818431
Thank you, that looks very promising. I will try it tomorrow when I am more awake! :-)
0
 

Author Closing Comment

by:ksoszka
ID: 37824703
Nice  - worked perfectly!
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question