• Archives
  • Cryptocurrency
  • Earnings
  • Enterprise
  • About TechBooky
  • Submit Article
  • Advertise Here
  • Contact Us
TechBooky
  • African
  • AI
  • Metaverse
  • Gadgets
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
  • African
  • AI
  • Metaverse
  • Gadgets
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
TechBooky
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Home Open source

How to Safely Migrate a WordPress Site to a New Server (Step-by-Step Guide)

Paul Balo by Paul Balo
March 25, 2025
in Open source, Tips
Share on FacebookShare on Twitter

3. Upload the Files and Set Up the Database on the New Server (Plesk Example)

Now that we have the site data, we’ll move everything to the new server. This involves uploading the WordPress files and importing the database into a new MySQL database. We’ll illustrate this with a Plesk control panel scenario, but the general steps apply to any host (for cPanel, the workflow is similar​.

Upload WordPress Files: Connect to the new server via FTP/SFTP or use the Plesk File Manager. In Plesk, navigate to your domain’s File Manager (under Websites & Domains) and open the web root directory (usually httpdocs in Plesk for the primary domain). If this directory already contains a default Plesk page or an old site, you can delete those files (be very sure you no longer need them before deleting)​. Then upload the WordPress files you downloaded. You can either upload the zip archive (if you made one) and use Plesk’s extract function, or upload the folder structure as-is. Plesk’s File Manager allows multi-file upload and zip extraction​, which can be convenient. If using FTP, simply transfer the files from your local folder to the httpdocs (or appropriate) folder on the new server. After upload, ensure that wp-content, wp-admin, wp-includes, and all the files (like index.php, wp-config.php, etc.) are present in the new server’s directory.

(If you uploaded a zip via File Manager, select it and click “Extract Files” to unpack the WordPress files into the folder​. All the WordPress PHP files and subfolders should now be in place. You can then delete the zip to clean up.)

Create a New Database in Plesk: Next, set up a database on the new server for WordPress. In Plesk, go to Websites & Domains > Databases. Click Add Database to create a new database​. Provide a name for the database (for example, mysite_wp – it’s useful to include something identifiable). Plesk will also ask you to create a database user and password with appropriate permissions for this DB. Choose a strong password and note the username, password, database name, and the database host (usually localhost for Plesk MySQL). These details will be used in the wp-config.php soon.

In Plesk, create a new database by clicking Add Database. Set a database name and credentials for a new user. This will prepare an empty database for your WordPress site.

With an empty database created, we need to import the old site’s data into it. Plesk offers phpMyAdmin integration: find your new database in the list and click the phpMyAdmin icon or link next to it. This opens phpMyAdmin for the new (empty) database. In phpMyAdmin, go to the Import tab. Use the file selector to browse for the SQL file you exported earlier​.

(if it’s zipped, upload the zip – phpMyAdmin can handle compressed imports in SQL, zip, or gzip formats). Then click Go to run the import. This will execute all the SQL commands from your backup and populate the new database with your WordPress tables and data. You should see a success message or at least no errors once it finishes. (If the SQL file is very large and your phpMyAdmin/host has upload limits, you might need to split the file or use command-line MySQL to import it. Alternatively, some developers use WP-CLI: e.g., wp db import backup.sql if WP-CLI is available on the new server.)

After importing, verify that in phpMyAdmin you can see the WordPress tables (like wp_options, wp_posts, etc.) in the new database. All the content from the old site is now in this database.

At this stage, your files and database are in place on the new server. The site isn’t functional yet because we need to configure WordPress to use the new database and possibly adjust URLs. We’ll handle that next.

Related Posts:

  • WordPress theme switch
    A Comprehensive Guide to Resolving File Permissions…
  • wp-speculative-loading-plugin-page-speed-e1712935040275
    WordPress Launches Speculative Loading Plugin To…
  • blog5f352fc3b2393_wp
    Hackers Exploit Popular WordPress Backup Tool Used…
  • https___dev-to-uploads.s3.amazonaws.com_uploads_articles_kqmbj9rjwqfghln5r5jv
    How to Convert SQL Server to Postgres
  • images (2)
    The Untold Story of WordPress and WP Engine's Clash
  • WordPress_blue_logo.svg
    WordPress Launches Revolutionary 100-Year Domain…
  • assets_task_01jrfxkvwqeexbx349fmgw9baz_img_0
    Schema Markup in WordPress: A Step-by-Step Guide to…
  • How-to-connect-to-EC2-instance-via-SSH-Linux-1
    Recovering SSH Access on AWS - A Step-by-Step Guide

Discover more from TechBooky

Subscribe to get the latest posts sent to your email.

Page 3 of 11
Prev1234...11Next
Tags: tipswordpresswordpress migration
Paul Balo

Paul Balo

Paul Balo is the founder of TechBooky and a highly skilled wireless communications professional with a strong background in cloud computing, offering extensive experience in designing, implementing, and managing wireless communication systems.

BROWSE BY CATEGORIES

Receive top tech news directly in your inbox

subscription from
Loading

Freshly Squeezed

  • Nigerian Authorities Arrest Developer Linked to Microsoft 365 Phishing Tool December 20, 2025
  • WhatsApp GhostPairing Scam Lets Hackers Hijack Accounts December 20, 2025
  • OpenAI Reportedly Seeks $100B at $830B Valuation December 20, 2025
  • YouTube & Google Hit By Ongoing Outages As Reports Spike December 20, 2025
  • TikTok Finalises Agreement For Sale Of Its US Business December 19, 2025
  • Google Adds Data Tables & Export Support To NotebookLM December 19, 2025
  • Instagram Caps Hashtags At Five For Reels & Posts December 19, 2025
  • Vibe Coding Startup Lovable Hits $6.6B Valuation After $330M Raise December 19, 2025
  • NHS England Tech Supplier Confirms Data Breach December 19, 2025
  • OpenAI Unveils GPT-5.2-Codex December 19, 2025
  • OpenAI Launches ChatGPT Internal App Store December 19, 2025
  • X Ends Installation Support For iPad App on Macs December 19, 2025

Browse Archives

December 2025
MTWTFSS
1234567
891011121314
15161718192021
22232425262728
293031 
« Nov    

Quick Links

  • About TechBooky
  • Advertise Here
  • Contact us
  • Submit Article
  • Privacy Policy
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
  • African
  • Artificial Intelligence
  • Gadgets
  • Metaverse
  • Tips
  • About TechBooky
  • Advertise Here
  • Submit Article
  • Contact us

© 2025 Designed By TechBooky Elite

Discover more from TechBooky

Subscribe now to keep reading and get access to the full archive.

Continue reading

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.