Migrasi WP

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’);

Leave a Reply

Your email address will not be published. Required fields are marked *