URL issue after migrating to dev site

Although you can use phpMyAdmin to dig into the database to change things, I always use the WP Clone plugin to easily move a site from development to production. Install the plugin on both source and target systems, then backup the source, and restore to the target. It’s here https://wordpress.org/plugins/wp-clone-by-wp-academy/ .

Everything is moved for you, with URL adjustments, and other stuff done for you. Easy peasy.

Of course, you can do it more ‘manually’, but the plugin works well and fast for me (being somewhat lazy).