In this tutorial we will show you how to migrate your Concrete5 website to WebHosting Hub. Moving your website can seem like a difficult task, but can easily be accomplished by following this guide.
In order to migrate your website, you will need your Concrete5 site files as well as the Full Database.
Moving Your Concrete5 Site:
- Using FTP or File manager, upload your site files to the directory you want your site to reside in.
- Create and add a user to the database. Be sure to write down the name of the database, database username, and the password.
- Import your database into cPanel.
- Now locate and open the config folder, and open the site.php file for editing. This can be accomplished in File manager by using the Code Editor button on top, or via FTP by downloading the file and editing it in a text editor such as notepad.
You must edit the following lines:
define('DB_USERNAME', 'enter your database username here);
define('DB_PASSWORD', 'enter your database password here');
define('DB_DATABASE', 'enter the name of the database here');
When you are done it should look something like this:
For the server name enter localhost. Once you have updated your settings in the site.php file, be sure to save. If this was accomplished using FTP you will have to upload the edited site.php file back into the config folder.
Congratulations, now you know how to move our Concrete5 website to Webhostinghub!