UPDATE wp_options SET option_value = replace(option_value, 'http://www.OLDSITE.com', 'http://www.NEWSITE.com') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = replace(guid, 'http://www.OLDSITE.com','http://www.NEWSITE.com');
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.OLDSITE.com', 'http://www.NEWSITE.com');
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.