mysql – Change site url when moving site to another url keeps the old url

I’m trying to migrate a WordPress instance from oldURL to newURL but the links in the WordPress still pointing to the old url

This what I have done:

  1. wp option update home newURL

  2. UPDATE wp_options SET option_value = replace(option_value, 'oldURL', 'newURL') WHERE option_name = 'home' OR option_name = 'siteurl';

  3. UPDATE wp_posts SET guid = replace(guid, 'oldURL','newURL');

  4. UPDATE wp_posts SET post_content = replace(post_content, 'oldURL', 'newURL');

  5. UPDATE wp_postmeta SET meta_value = replace(meta_value, 'oldURL', 'newURL');

Any of you knows if I’m missing something or there any other change do I need to make to point everything to the new url?