Solved

Import Images to new Wordpress site with folder hierarchy intact?

Posted on 2012-04-02
3
400 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…
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).

739 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