Solved

Import Images to new Wordpress site with folder hierarchy intact?

Posted on 2012-04-02
3
391 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now