Categories
Webdevelopment

SQL Search & replace

/*
    Insert this line in wp_posts -> Query.
*/

UPDATE wp_posts SET post_content = REPLACE(post_content, '[old domain]', '[new domain]');