[resolved] moved wordpress to new server images not showing (4 posts)

  1. datboip
    Posted 3 years ago #

    i had a vps on ubuntu running wordpress on ngaradio.org

    then i bought a new faster vps, and moved everything to it. the two servers were identical besides ram, storage, and bandwidth.
    changed hostname to ngaradio, and updated dns, name serves and all.

    normally, if i post an image in a post, it will put big thumbnail on the front page as a "featured image" but really using the featured image thing, that never worked.

    anyways, directories did change from:
    /home/blog/public_html/wordpress (on old server)
    to new location:
    /var/www/wordpress/ (new server)
    i backed up all sql and rsynced all files and permissions from old server to new.

    what could be causing the images to not pop up

  2. Andrew Bartel
    Posted 3 years ago #

    The image paths are stored in the database as part of a serialized array. So, because that changed, they're no longer displaying.

    Try using a plugin like WP Migrate DB or this search and replace script.

    Make a backup first!

  3. datboip
    Posted 3 years ago #

    well i just kinda fixed it...

    all i did it switch to another template... delete one i was using, then reinstall it. now everything works. weird, huh?

    but thanks for the plugins, ill check em out...

  4. Andrew Bartel
    Posted 3 years ago #

    Yea I dunno, chmod funkiness maybe?

Topic Closed

This topic has been closed to new replies.

About this Topic