Support » Networking WordPress » Images broken after move

  • Resolved Anna


    Hi all. I have a multisite with several websites working great under it.

    I decided to transfer a rather image-heavy separate install into the network and this is what I did:

    1. Added in the multisite network.
    2. Used the import feature to get all the posts, pages, attachments, etc from
    3. Copied over the images from just to make sure.
    4. Went into Super Admin > Sites > Edit and changed “” into “”
    5. Went into my Panel and edited the records of “” so it would work with multisite (I have to do this manually because I’m on DreamHost.)
    6. Went into MySQL and did a search and replace for “” to become “”

    The site is working great and all my posts and pages are there. The problem is, some images are not showing up. I checked them out in the Media Library and saw that their upload paths are at “”.

    Any ideas how I can fix this? This actually happened to me before and someone on IRC gave me some PHP code to run so that something on WP could be changed. Unfortunately, I can’t find it using the WP chatlogs and it was a pretty long time ago so I’m asking here.

    Much thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You may need to search and replace in your database to clean that up. There are plugins that can do that as well (look for search and replace plugins)

    Hey there ipstenu.

    I did a search and replace on all tables but it says no results found.

    Via a plugin or via the database itself?

    The database itself.

    Did a broader search in the database and found that the “guid” field of the posts table had “”. Strange that it didn’t come up in the first place.

    Also, I had to look for any inserted images and change “wp-content/uploads” to “files” 🙂

    Problem solved~!

    Thanks for your time ipstenu 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Images broken after move’ is closed to new replies.