Changing URLs on WordPress is unlike other scripts in which you would have a configuration file that you would need to edit. In WordPress, everything configuration related is located inside the database.
There’s 3 main things that need to change;
UPDATE wp_options SET option_value = replace(option_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
UPDATE wp_posts SET guid = replace(guid, ‘http://www.old-domain.com’,’http://www.new-domain.com’);
UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’
All you would need to do is change the OLD-DOMAIN section to the NEW-DOMAIN and then paste that into the SQL section inside phpmyadmin