How to transfer a WordPress site to xneelo

The information in this article is related to konsoleH.
If you are using our new Control Panel, refer to this article.

Make the switch and discover a simpler, more secure way to manage your hosting.

Transferring your WordPress site from your existing hosting provider over to xneelo need not be a difficult or complex task. Below is a step-by-step guide to help you.

Alternatively, there are a number of migration plugins that may be able to do the job for you – see WordPress.org. The Duplicator plugin is frequently used for website migration purposes.

Use our WP AppInstaller to create a new WordPress site first, then use the migration plugin to migrate the site content.

Download Existing Site

First, you’ll need to download your current site from your current hosting provider to your computer. 

There are 2 components of a WordPress site that need to be downloaded:

  • Files: This includes the core WordPress files, any installed themes, and plugins. Also, any other documents you may have uploaded to the site, including images, PDF files, etc.
  • Database: The database contains all your posts, pages and other settings for WordPress

You’ll need to download both the files and the database in order to have a complete copy of your WordPress site.

Downloading the Files

Using an FTP program (such as FileZilla), connect to your site and browse to the root of your website. In your FTP program you should see files and folders similar to the following:

Select all the files and folders (excluding any non-WordPress files and folders) and download them to a folder on your computer. You can do this either by dragging-and-dropping the files, or selecting the download button in your FTP client.

Note: Depending on the size of your WordPress site, this process could take a while (up to a few hours). If the process fails, it’s best to start again with all the files.

Downloading the Database

You should have access to your database through your current provider. If unsure, contact them for help downloading it.
If you make use of phpMyAdmin on your control panel or cPanel, follow the below steps:

  1. Choose your WordPress site’s database from the left panel.
  2. Click the Export tab on the right.
  3. Keep Export Method as Quick, and Format as SQL.
  4. Click Go to download the file. Move it to your designated folder on your computer.

Set up New Database

Your new WordPress site will need a database on the new site. Follow these instructions on how to set up your database via konsoleH.

After configuring the new database, note down the login credentials such as database name, database username, password, and hostname. You’ll need these later when updating the connection strings for the database.

Edit Local Config File

Before uploading your website files to the new site, edit the WordPress configuration file (wp-config.php) that you previously downloaded.

Follow these steps:

  1. Navigate to your download folder and locate the wp-config.php file. Open it using a text editor like Notepad (Windows) or TextEdit (Mac). Since this is a copy of your live site’s config file, there’s no need to create a backup before editing it.
  2. Look for the database details section in the config file and replace the italicized text with the corresponding values from your new database.

Here’s a table to help you match the information in wp-config.php with the details in konsoleH:

wp-config.php konsoleH
DB_NAME Database
DB_USER Username
DB_PASSWORD Password
DB_HOST Server

Replace ‘dbname’, ‘dbuser’, ‘dbpassword’, and ‘dbhost’ with the actual database name, username, password, and server details for your new database as provided by konsoleH. Once you’ve made these changes, save the wp-config.php file.

Upload Existing Site

Uploading the Files

The next steps are to upload your files to the new website using FTP:

  1. Use your FTP program to connect to your domain hosted with us. You can connect using either your domain’s xneelo-hosted server name or IP address.
  2. Navigate to the public_html folder in your FTP program.
  3. Upload all the files from your local folder to the public_html folder on the server.

Note that the uploading process may take a long time to complete, especially for larger websites. If the upload fails, starting the process from scratch is recommended. If you encounter persistent issues with uploading your files, reach out to our Support Team for assistance. Provide them with details of the error you’re experiencing to help them assist you effectively.

Uploading the Database

You can upload your database using phpMyAdmin from within konsoleH. Step-by-step visual instructions are available here.

  1. Log in into konsoleH
  2. Select the website name under the Hosting Services tab
  3. Select Manage Services in the left-hand menu
  4. Under Databases, select Manage MySQL
  5. Select the database you created earlier, by clicking on the checkbox
  6. Select phpMyAdmin in the top right. PhpMyAdmin will now open in a new window.

Now, you can upload the database using phpMyAdmin. 

Follow these steps:

  1. Open phpMyAdmin in a new window.
  2. Click on the Import tab.
  3. Under File to Import, select the button next to Browse your computer.
  4. Navigate to the location of the downloaded database file and select it.
  5. Click Open.
  6. Ensure that the drop-down box under the Format heading is set to SQL.
  7. Click Go to initiate the upload process.

If the upload proceeds smoothly, your database will be uploaded. In case of any issues, contact our Support team for assistance.

Find and Replace

If you’re moving your website to a new domain, you’ll need to update all mentions of the old domain with the new one. Here’s how to do it:

Note: Making global search and replace changes carries risks. Only proceed if you’re confident in your technical skills.

Consider using a WordPress plugin for this task.

Download a script that scans your website’s database and swaps the old domain with the new. Get the script here and follow the installation instructions on the website.

After installing the script, access the script folder through your web browser. You should see a page that looks like this:

Fill out the fields as follows:

  1. Replace: Enter your new domain name here, for example: newdomain.co.za
  2. Search: Enter your old domain name here; olddomain.co.za
  3. Database: Enter your new database details here
  4. Test the database connection
  5. Select “all tables” unless you would like to exclude tables then you can use the “select tables” option.
  6. Run a dry run test by selecting the option “Do a safe test run”.
  7. You may then proceed to run a live run by selecting “Search and Replace” (Please note this cannot be undone).
  8. Select “Live Run” to start the search and replace process.

After finishing the process, all mentions of your old domain should have been substituted with your new domain and you may proceed to delete the Search and Replace directory.

Testing Your New Site

If you are only migrating the site over to us, while keeping the same domain name, we suggest that you test your new site before transferring your domain.

The easiest way to do this is by emulating the DNS change by updating the host file on your computer

  1.  Find the IP address of the server your website is hosted on.
  2.  Update your hosts file. Your hosts file could be in various locations based on your operating system:
    In Windows, the file is located in the following folder:

    C:\Windows\System32\drivers\etc

    On Mac, the file is located here:

    /etc/hosts
  3. Edit this file using a text editor (with Administrative privileges). Once opened, add the following to the bottom of the file: The IP address of your server, followed by a tab and then the domain name of your website e.g:
    41.204.202.32        www.example.com
  4. Save the file and browse to your domain name; you should see your WordPress site as hosted on xneelo.

Transfer Domain

The final step in this process is to transfer your domain name to us. This will ensure that when your visitors browse to your domain name they will see your website as hosted with xneelo. Have a look at one of our comprehensive guides on transferring your domain to us.