WordPress.org

Ready to get started?Download WordPress

Forums

Domain Change and static image links (2 posts)

  1. sfx2000
    Member
    Posted 7 years ago #

    Hi Folks, sorry in advance if this is a question already asked...

    have to switch domains (I was a subdomain, now I have my own). My image links for over 600 posts are now broken... need some help here, if there's a magic mysql command, it would be very appreciated... I have sudo on the shell, and root in the database...

    Setup:

    WordPress 2.1.3
    Coppermine 1.4.10
    mysql 5.0.27

    Post Format for images:

    using coppermine, copy image location from http://hostname.domain/gallery/ into wordpress posts... the image link would look similar to...

    http://hostname.domain/gallery/albums/userpics/10001/normal_alms-long-beach---20.jpg

    With the appropriate image tags around either side.

    I have to change hostname.domain to hostname1.newdomain for these image links, i.e. the images are linked, not stored directly in wordpress.

    Coppermine is working, so it is configured for the new host.domain, just need to fix the links in my wordpress posts.

    Thanks in advance!

    tim

  2. Glenn Ansley
    Member
    Posted 7 years ago #

    Try this mysql query. I use it all the time.

Topic Closed

This topic has been closed to new replies.

About this Topic