Migrasi WP

May 29, 2017 at 1:46 am

update wp_options set option_value = replace(option_value, ‘http://domainsaya.tld’, ‘http://localhost’);
update wp_posts set post_content = replace(post_content, ‘http://domainsaya.tld’, ‘http://localhost’);
update wp_posts set guid = replace(guid, ‘http://domainsaya.tld’,’http://localhost’);
update wp_links set link_url = replace(link_url, ‘http://domainsaya.tld’, ‘http://localhost’);