Hi, you need to exchange them through your php my Admin Just read this article to know https://www.hostinger.com/tutorials/wordpress/how-to-change-wordpress-urls-in-mysql-database-using-phpmyadmin
To move your WordPress website to a new server and rectify broken links, you may need to adopt new URL paths on your website. You can perform this activity through the WordPress admin panel by installing search plugins and subsequently through Replace Domain URL tab. To perform this activity more effectively and flawlessly, you can consult a WordPress Development Company. For more Details: https://www.sparxitsolutions.com/wordpress-development-services.shtml