🌐 How to Migrate a WordPress Website to cPanel
If you’re moving your WordPress website to TK Internet Marketing hosting, this step-by-step guide will help you migrate your site quickly and safely using cPanel.
This process includes transferring your website files, database, and verifying your domain setup.
🧠 Before You Begin
Make sure you have:
-
Access to your current hosting account or WordPress files
-
Access to your new cPanel account (through TK Internet Marketing)
-
Your domain login (if DNS updates are needed)
-
A recent backup of your site
💡 If you’re not comfortable performing these steps, TK Internet Marketing can handle the migration for you — just open a ticket under Website Support.
🧩 Step 1: Back Up Your Existing WordPress Site
Option A: Use a Plugin
-
Install and activate a migration plugin such as:
-
All-in-One WP Migration
-
Duplicator
-
UpdraftPlus
-
-
Create a full backup/export file.
-
Download the backup file to your computer.
Option B: Manual Backup (Advanced)
-
Log in to your old hosting’s cPanel or file manager.
-
Download all website files from the
/public_html(or WordPress install folder). -
Export your database using phpMyAdmin → Export → SQL format.
🖥️ Step 2: Log In to Your New cPanel Account
-
Go to your TK Internet Marketing Client Area:
https://clients.tkinternetmarketing.com/clientarea.php -
Select Services → My Services → View Details on your hosting plan.
-
Click Login to cPanel.
📂 Step 3: Upload Your WordPress Files
-
In cPanel, open File Manager → navigate to the
/public_html/directory. -
Click Upload and select your WordPress backup file or zipped folder.
-
Once uploaded, right-click the file and choose Extract.
-
Ensure the extracted files (wp-admin, wp-content, wp-includes) are in
/public_html/.
⚠️ Make sure there are no duplicate nested folders (like
/public_html/wordpress/wordpress/).
🧮 Step 4: Import Your Database
-
In cPanel, go to Databases → MySQL® Databases.
-
Create a new database (e.g.,
yourname_wp). -
Create a new user and assign it to the database with All Privileges.
-
Go to phpMyAdmin, select your new database, and click Import.
-
Upload your
.sqlfile (from your old site backup). -
Wait until the import completes successfully.
⚙️ Step 5: Update wp-config.php
-
In File Manager, locate and open
wp-config.php. -
Update these lines with your new database credentials:
define('DB_NAME', 'yourname_wp'); define('DB_USER', 'yourname_user'); define('DB_PASSWORD', 'yourpassword'); define('DB_HOST', 'localhost'); -
Save and close the file.
🌎 Step 6: Point Your Domain to the New Server
-
Log in to your domain registrar (where your domain is registered).
-
Update your nameservers to:
ns1.tkinternetmarketing.com ns2.tkinternetmarketing.com(Confirm your exact nameservers in your hosting welcome email or Client Area.)
-
Save changes and allow DNS propagation (can take up to 24–48 hours).
✅ Step 7: Test Your Website
After propagation:
-
Visit your domain using
https://yourdomain.com -
Verify that your website loads correctly
-
Check internal links, forms, and images
-
Log in to your WordPress admin area (
/wp-admin) to confirm everything works
💡 If the site doesn’t load or redirects incorrectly, check your .htaccess file and site URL settings in the WordPress dashboard (Settings → General).
🧾 Step 8: Reinstall SSL (If Needed)
If your site shows a “Not Secure” warning:
-
Log in to cPanel → SSL/TLS Status.
-
Click Run AutoSSL.
-
Wait for the padlock icon to appear next to your domain.
💬 Need Help?
If you’d like TK Internet Marketing to migrate your website for you, open a ticket under Website Support at https://clients.tkinternetmarketing.com/clientarea.php or email support@tkinternetmarketing.com.
We can migrate your WordPress site, verify DNS, and test SSL for you — typically within 24 hours.