Viewing 2 replies - 1 through 2 (of 2 total)
  • log in to phpmyadmin
    download .sql file for database
    back up file
    open file in notepad or similar
    search -> replace old url with new url
    save file
    import file to database

    Thread Starter kelvinmedina

    (@kelvinmedina)

    Samuel thanks for yoru suggestions. However, I was looking to use SQL code.

    Please backup and be careful:
    `
    update [table_name] set [field_name] = replace([field_name],'[string_to_find]’,'[string_to_replace]’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Moved WP to root, how I can update MySQL to point the images location?’ is closed to new replies.