WordPress.org

Ready to get started?Download WordPress

Forums

changed domain name, now wordpress images/media point elsewhere (2 posts)

  1. poweredbymilo
    Member
    Posted 3 years ago #

    hello there.

    i recently moved my wordpress onto a new server and under a new domain, but now the majority of my images/media are broken.

    i followed the codex tutorial on moving wordpress to a new location, and everything is working fine(permalinks, plugins, etc), it's just all my images point elsewhere and i can't seem to find a way to edit their url.

    does wordpress allow me to change the url of an already uploaded image, or am i going to have to re-upload all my media?

    TIA

  2. stvwlf
    Member
    Posted 3 years ago #

    Hi

    You can change them by running some queries on the database that replace old locations with the new location

    This article describes what needs to be done
    http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/

    If you are not familiar with using phpMyAdmin there is a plugin you can install that lets you paste the queries in, within WordPress.
    http://wordpress.org/extend/plugins/search-and-replace/

    make sure you back up your database before you do any of this.

    if you don't know how you can install the wp-db-backup plugin within WP

Topic Closed

This topic has been closed to new replies.

About this Topic