WordPress.org

Ready to get started?Download WordPress

Forums

Links change in Database (3 posts)

  1. vachico
    Member
    Posted 7 years ago #

    Hello.

    Need help to change the links in my database in bulk. I need to change a 3 digit number in all the urls of the links of my images in my posts. How is this to do in bulk in the database?

    Thanks for help

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    It's not possible to do such an operation in a bulk update. Database operations don't work that way. You'd have to write code to do it for each one.

  3. drmike
    Member
    Posted 7 years ago #

    Is this from a specific code to another specific code?

    Export out the database, load it into a text editor like Ultraedit, search and replace, replace teh database with the newer version.

    Please note that I wouldn't do this in notepad, wordprad or word. They're not true text editors.

Topic Closed

This topic has been closed to new replies.

About this Topic