/ Published in: MySQL
Just updated for WP 3 (added wp_postmeta table for menus)! Test out the new installation thoroughly but everything should be fine, and your CMS should be running live on the new server!
Expand |
Embed | Plain Text
UPDATE wp_posts SET post_content = REPLACE(post_content, 'http://localhost:8888/', 'http://www.new-domain.com'); UPDATE wp_posts SET post_excerpt = REPLACE(post_excerpt, 'http://localhost:8888/', 'http://www.new-domain.com'); UPDATE wp_posts SET guid = REPLACE(guid, 'http://localhost:8888/','http://www.new-domain.com'); UPDATE wp_options SET option_value = REPLACE(option_value, 'http://localhost:8888/', 'http://new-domain.com/'); UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, 'http://localhost:8888/', 'http://new-domain.com/');
Comments
Subscribe to comments
You need to login to post a comment.

Totally awesome!!!!!