Home > WordPress > Fixing URLs after moving a WordPress blog

Fixing URLs after moving a WordPress blog

When I moved my WordPress blog, all my image links were broken :(  Fortunately, with a simple google search (mysql replace substring), and 5 minutes of work in phpMyAdmin, everything was right as rain.

I ran the command (adapted from a comment here) on two fields in the wp_posts table - wp_content and guid:

UPDATE wp_posts
SET [insert_field_name_here] =(
REPLACE ([insert_field_name_here],
'[insert_old_URL_here]',
'[insert_new_URL_here]'));

One browser refresh later, I was returned to multimedia heaven :)

Categories: WordPress Tags:

windows 7 product key

windows 7 product key

windows 7 key generator

windows 7 key generator

free winrar download

free winrar download

winzip activation code

winzip activation code

free winrar

free winrar

winzip free download

winzip free download

winrar free download

winrar free download

winrar download free

winrar download free

winzip free download full version

winzip free download full version

windows 7 activation crack

windows7 activation crack

windows 7 crack

windows 7 crack

free winzip

free winzip
\n