How to transfer Elgg from another host?

In this tutorial we are going to show you how to transfer your Elgg website from another host to your account with TMDHosting.

The first thing that you will need to do is copy all your website files to your hosting account with This can be easily done via FTP. You can check our FTP video tutorials at:

Next, you will need to export your website database using a database management tool like phpMyAdmin. You can watch our video tutorial on how to export a database using phpMyAdmin here:

The next step is to create a new database. You can easily do this via your cPanel > MySQL Database Wizard. You can follow this tutorial to create the new database:

Once you have created the database, import the .sql file that you have exported earlier. You can import the file using phpMyAdmin. You can follow this tutorial to complete the import:

The final step is to update your Elgg’s configuration file. It is located in:


Using text editor open settings.php file and edit the following lines:

$CONFIG->dbuser = ‘Database Username’;
$CONFIG->dbpass = ‘password’;
$CONFIG->dbname = ‘Database Name’;
$CONFIG->dbhost = ‘localhost’;

In the above lines, change “Database Username”, “password” and “Database Name” with the database details that you have created earlier.

You have successfully transferred your Elgg website.