Creo que te falta la cláusula `WHERE` en la primera sentencia: update wp_posts set post_content = replace(post_content,'localhost/kbmtrading/', 'kbmtrading.com') WHERE option_name = 'home' OR option_name = 'siteurl'; update wp_posts set guid = replace(guid, 'localhost/kbmtrading/', 'kbmtrading.com'); update wp_options set option_value = replace(option_value, 'localhost/kbmtrading/', 'kbmtrading.com'); update wp_postmeta set meta_value = replace(meta_value, 'localhost/kbmtrading/', 'kbmtrading.com');