If you are planning to migrate your website to a new domain name or want to change your domain name for some reason. Then you can use this little code snippet to achieve this.
Please remember we don’t take responsibility if something goes wrong! You must always back up and be cautious when working with the MySQL database. In fact, if you are not a developer then this is a very advanced step to take!
[snippet slug=change-wordpress-url-in-mysql lang=mysql]