How to migrate WP website from one domain to another

In case you decide to relaunch your WP website on the new domain (for example because of re-branding) you might spend a lot of time migrating your settings, posts, products etc.
1 answer

Migrate WP site

Luckily, there is simple trick how you can migrate your WP site on another domain in less than 20 minutes.

- Zip and download your WP files
- Export your database
- Upload and unzip your files on the new location
- Open your database sql file with notepad, replace your old URL with the new one. Save it and import to new database
- Change settings in your config file (adopt database, password and user)

Taggings: