- Published:October 9th, 2012
To follow my example. This blog used to be on www.robinbrackez.be/uitgewerkt, and is now on www.developed.be
1) Backup/restore your database
If you want the website to be on a new databases (which is not always necessary), take a backup of the entire database (phpadmin > export > to file) and restore it in the new database (phpmyadmin > import > from file).
2) Edit wp-config.php
On a local copy of the website, edit the wp-config.php to edit the database settings. Edit the constants: DB_NAME, DB_USER, DB_PASSWORD. (in case there’s a new database, of course).