After you move your WordPress site to a new domain name, you will notice that all internal links to pages and references to images are not updated, images are not showing up because your images and other links and references are pointing towards your old domain name. This tutorial is about a plugin that fixes this thing up in just a click. It automatically updates old URLs and links in your website.
We have already discussed about changing your website domain name or URL by editing functions.php file and by editing wp-config.php file. Now this tutorial explains you how you can update your website web address to new one (when you are migrating your website to a new domain) directly by updating your WordPress site’s MySQL database.
If you are migrating to a new web address i.e. to a new domain name then there are a couple of different methods of changing WordPress site URL. You can do it by editing your WordPress configuration file about which we have already discussed, you can do it by editing functions.php file etc etc.
General procedure of migrating WordPress to a new server on a new domain is to backup MySQL database and your website root directory (public_html) then change domain name to new one on Dashboard -> Settings -> General in the text fields for WordPress Address (URL) & Site Address (URL). This tutorial explains the solution of the problem which comes when you accidently change the domain name or you forgot changing your domain name in admin area dashboard;s General settings page.
WordPress plugin Repository has a new plugin that lets you make website migration from one domain to another very easy. So next time you need migrating your WordPress site to a new domain, all you will be needing to do install and activate the plugin Automatic Domain Changer. After activation visit your admin area Dashboard -> Tools -> Change Domain (remember to keep a backup for safety).