Forums

[resolved] Moving Media library uploads to a new, fresh installation of WordPress (7 posts)

  1. joshias
    Member
    Posted 5 months ago #

    I want to build a fresh install of WordPress.org in my computer, but I want to preserve all of the posts, pages and media. I've exported the whole site, using the WordPress export to a WXR XML file. Restoring that file to a new installation was easy.

    The problem is, even though I've checked "Download and import file attachments", none of the files were transferred to the new installation, leaving all of the image links pointing to my previous installation. None of my old media files appear in Media Library, nor in the uploads folder itself.

    So, the question is, how do I move all of the images stored in my previous install to my new, freshly extracted wordpress, and also, to be able to browse it in Media Library?

    FYI, The source and target WordPress installation is on the same computer.

    Thanks.

  2. SwansonPhotos
    Member
    Posted 5 months ago #

    You need to also include the media files in the same folder.

  3. joshias
    Member
    Posted 5 months ago #

    which folder? all of the images are stored in the default wp-content/uploads folder, but none of them were transfered

  4. joshias
    Member
    Posted 5 months ago #

    ah, never mind. tried to re-import a few times solved the problem. It didn't work yesterday. I wonder why...

  5. SwansonPhotos
    Member
    Posted 5 months ago #

    The export file does not include the actual media files. If it did it could be, what? ten gigs?

  6. joshias
    Member
    Posted 5 months ago #

    hahaha. I knew that, but the weird thing is, it didn't transfer completely on first try

  7. vjpo
    Member
    Posted 5 months ago #

    You have to copy uploads folder with all media files to new installation by FTP. If you changed site URL, you need to change part of image url in posts. There is plugin for this http://wordpress.org/extend/plugins/search-and-replace/

Reply

You must log in to post.

About this Topic