Move a WordPress site to Traxio

Migrate WordPress manually — database, wp-content and wp-config.php — test it before DNS changes, then switch over.

TutorialIntermediate60 min to completeLast updated
On this page
  1. What you’ll need
  2. Step 1: Update and back up at the old host
  3. Step 2: Export the database
  4. Step 3: Download the files
  5. Step 4: Create a database on Traxio
  6. Step 5: Import
  7. Step 6: Upload the files
  8. Step 7: Edit wp-config.php
  9. Step 8: Preview before switching
  10. Step 9: Switch DNS
  11. Step 10: Tidy up
  12. Check it worked
  13. If something goes wrong
Level
Intermediate
Time
About 60 min
Steps
10
You’ll finish with
A working result, checked

10 steps

What you’ll need

  • Admin or file access to the old WordPress site
  • DirectAdmin access on Traxio

A manual move works regardless of site size and plugin limits. If your site is small, a migration plugin is an alternative. How to move a WordPress site to Traxio

Step 1: Update and back up at the old host

Update everything on the old site, then back it up.

Step 2: Export the database

In the old host’s phpMyAdmin, export the WordPress database, gzipped. How to export a database (backup with phpMyAdmin)

Step 3: Download the files

Archive and download the whole WordPress folder, including wp-content and wp-config.php.

Step 4: Create a database on Traxio

Create a database and user; note the full prefixed names. How to create a MySQL database in DirectAdmin

Step 5: Import

Select the new database in phpMyAdmin and import. How to import a database with phpMyAdmin

Step 6: Upload the files

Upload the archive to public_html and extract. Remove any placeholder index.html.

Step 7: Edit wp-config.php

Set DB_NAME, DB_USER, DB_PASSWORD to the new values and DB_HOST to localhost. Check $table_prefix matches the imported tables.

Step 8: Preview before switching

Use the hosts file and test front end and admin. Re-save Settings → Permalinks. Previewing your site on Traxio before changing DNS

Step 9: Switch DNS

Change nameservers, remove the hosts entry, then check SSL and email. How to point your domain to Traxio (change nameservers)

Step 10: Tidy up

Clear caches, re-test forms, and set up SMTP. Make WordPress emails arrive (SMTP setup)

Check it worked

The site loads over HTTPS from Traxio, you can log in, inner pages work, and forms deliver email.

If something goes wrong

What happensWhat to do
Error establishing a database connection“Error establishing a database connection” in WordPress
Redirects to the old domain or httpHow to change your WordPress site URL
Inner pages 404Re-save permalinks; check .htaccess was uploaded.

Where this fits: Web hosting for beginners brings together everything you need for a first website, in order.

Spotted something out of date or unclear? Tell us and we’ll fix it.

Keep going