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

  1. poweredbymilo
    Posted 4 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?


  2. stvwlf
    Posted 4 years ago #


    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

    If you are not familiar with using phpMyAdmin there is a plugin you can install that lets you paste the queries in, within WordPress.

    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