Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Import Images to new Wordpress site with folder hierarchy intact?

Posted on 2012-04-02
3
Medium Priority
?
419 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

886 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