Go to the sql of the database you want to update
Run some sql update and replace commands on the tables wp_options, wp_posts, wp_postmeta. These are also the tables that contain the content, urls that need to be replaced. Use the code as below and swap in your old and new urls, without the underscore. Also if necessary change the table prefix values if applicable (ie…