• Resolved justinae

    (@justinae)


    Hi all. First post here and appreciate the help in advance.

    I am developing a site for a client who is already running WP. I was able to successfully export/import the posts and pages to the new clean installation on a different server.

    I know the “media library” question has been asked many time and I’ve read many a post/article about it but still the answer eludes me.

    I have a database that I think is clean and I’ve successfully exported that into the new database. However, when I login it takes me back to the clients old site. I understand there is a way to change the URL in the database, however they have many instances of the URL in their posts and I don’t want to replace those.

    I have also migrated the “uploads” folder successfully to the new host server. Naturally none of it shows up in the media library and all the posts are broken because the database doesn’t know they’re there. Is there a way to export ONLY the media library portion of the database?

    At this point I’m looking at re-uploading all the images and PDF’s and just manually reconnecting. There are almost 400 of them so it is a medium sized job and I’m willing to do it to keep everything clean (the older WP setup had gotten terribly patched and broken).

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • wpismypuppet

    (@wordpressismypuppet)

    How good/comfortable are you with SQL? You could do this easily with a simple SQL statement. But it’s dangerous if you don’t know what you are doing.

    Thread Starter justinae

    (@justinae)

    I’m moderately comfortable and did just as you suggested. In case anyone else is having this issue, don’t do a search for http://www.domain.com, you’ll get all the instances of that reference in your posts/pages. Use http://www.domain.com. When I did it that way it only came up with the two places in the database that needed to be changed and all was good.

    thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin for media library’ is closed to new replies.