Category : Blog

Migrating WP: MySQL Query: UPD…

Migrating WP: MySQL Query:

UPDATE wp_posts SET post_content = REPLACE(post_content, ‘OLD DOMAIN’, ‘NEW DOMAIN’)
UPDATE wp_posts SET GUID = REPLACE(GUID, ‘OLD DOMAIN’, ‘NEW DOMAIN’)
UPDATE wp_options SET option_value = REPLACE(option_value, ‘OLD DOMAIN’, ‘NEW DOMAIN’)

Twitter Weekly Updates for 2011-05-22