WordPress.org

Ready to get started?Download WordPress

Forums

Transferring wordpress images to new host (3 posts)

  1. qwik3r
    Member
    Posted 3 years ago #

    I know this has likely be brought up but i simply cannot find it, I transferred wordpress to a new host and imported the xml file, all of the images are of course pointing to the new host, i copied the existing images folder from the old host to the new host now I was wondering how I can make it so that images that were once shown as attachments on the old post show as attachments on the new server, as of right now they only show as linking to the old host and not as attachments.

    If i do a search and replace for all instances of the old blog in the database and point it to the new images folder would wordpress then show them as actual attachments? Otherwise I am up shit's creek and therefore have to do everything manually on hundreds of blog posts...

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    search and replace should do it just fine. You can do it in the DB, or use a plugin. I've read a few folks having success with this one...

    http://wordpress.org/extend/plugins/search-and-replace/

  3. qwik3r
    Member
    Posted 3 years ago #

    Actually search and replace does not add the images back to the gallery as attachments, but I found a workaround by using the 'add from server' plugin which allows me to browse the images already on the server and import them to each post accordingly as gallery attachments.

Topic Closed

This topic has been closed to new replies.

About this Topic