Skip to content
›How to Move WordPress to a New...

How to Move WordPress to a New Server Manually (Step by Step)

In This Guide
Quick answer
  • A manual move has four parts: copy the files, export and import the database, update wp-config.php and point your domain to the new server.
  • You’ll need SFTP or a file manager, phpMyAdmin (or similar) and access to both hosting accounts.
  • Test the site on the new server before changing DNS, and keep the old server running until everything works.
  • If you’d rather not do it by hand, use a migration plugin or your new host’s free migration.
Plugins make migration easy, but sometimes a manual move is the best option, for example for large sites or when plugins time out. Here’s how.

Step 1: Back up and download files

Download the entire WordPress folder via SFTP, or compress it in your host’s file manager and download the archive.

Step 2: Export the database

In phpMyAdmin, select your WordPress database and export it as an SQL file.

Step 3: Create a database on the new server

Create a new database and user in your new hosting panel, and note the details.

Step 4: Import the database

Import the SQL file into the new database with phpMyAdmin. For large files, ask your host or use a command-line import.

Step 5: Upload files

Upload your WordPress files to the new server’s web root.

Step 6: Update wp-config.php

Change DB_NAME, DB_USER, DB_PASSWORD and DB_HOST to the new database details.

Step 7: Test before switching

Preview the site using your computer’s hosts file or a temporary URL from your host.

Step 8: Point your domain

Update nameservers or the A record. See how to change nameservers.

Prefer an easier way?

See how to move WordPress to a new host without downtime, which covers free migration services and plugins.

FAQs

Sharing is caring

Popular on Bloggersutra Right Now!

Disclosure: Our content is reader-supported. If you click some of our links, we may earn a commission at no extra cost to you. See how Bloggersutra is funded. Here is our editorial process.

About the Editorial Staff

Editorial Staff at Bloggersutra is a team of WordPress writers led by Munish Siwatch, who has worked on website design and blogging since 2009. We write tutorials, reviews and guides that help beginners start, run and grow a WordPress website.

Join the Conversation

Leave a comment


Free WordPress Guides

Follow Bloggersutra for fresh WordPress tips.

WordPress Deals & Coupons

Save on hosting, themes, plugins and blogging tools.

Latest Posts

Start Your WordPress Blog

Follow our beginner guides, from choosing a host to publishing your first post.

Deals & Coupons

Up to 89% off
Up to 85% off + free domain
Up to 60% off + free domain