How to Move a WordPress Site: A Complete Step-by-Step Guide for Beginners

How to Move a WordPress Site: A Complete Step-by-Step Guide for Beginners
How to Move a WordPress Site: A Complete Step-by-Step Guide for Beginners

Introduction: Why Moving a WordPress Site Feels Scary (But Isn’t)

If you’ve ever needed to move a WordPress site, you probably felt a little nervous. What if you lose your content? What if your SEO rankings drop? What if the whole site breaks?

Table of Contents

Here’s the truth: moving a WordPress site is actually very manageable — even for beginners. Thousands of bloggers, freelancers, and small business owners do it every year without hiring a developer.

Whether you’re switching web hosts, moving from a subdomain to your main domain, or transferring a client’s site, this guide walks you through everything. Step by step. No jargon. No skipped steps.

Let’s get into it.

Find similar posts in WordPress category.


What Does It Mean to Move a WordPress Site?

Moving a WordPress site — also called migrating a WordPress site — means copying all your website files and database from one location to another.

That “new location” could be:

  • A new hosting provider (like from Bluehost to SiteGround)
  • A new domain name
  • A local server to a live server
  • A subdomain to a root domain (e.g., demo.yoursite.com → yoursite.com)

Every WordPress site has two main parts you need to move:

  1. WordPress files — themes, plugins, uploads, and core files
  2. The database — all your posts, pages, settings, and user data

Miss either one and your site won’t work. That’s why following a proper process matters.


Before You Start: Things to Check First

Before you touch anything, spend five minutes on these quick checks. They’ll save you hours of headaches later.

1. Back up your current site
Always back up before you migrate. Use a free plugin like UpdraftPlus or Duplicator to save a full copy of your site. Store it in Google Drive or Dropbox.

2. Check your new host’s PHP and MySQL versions
Your new server needs to support the same versions your site uses. Most modern hosts (SiteGround, Hostinger, Kinsta) are fully compatible with WordPress.

3. Note down your current WordPress settings
Write down your permalink structure, timezone, and admin email. You’ll want to double-check these after the migration.

4. Put your site in maintenance mode
Install a simple maintenance mode plugin to stop visitors from accessing the site during migration. This prevents data loss from new comments or orders being placed mid-transfer.


Method 1: How to Move a WordPress Site Using a Migration Plugin (Easiest Way)

This is the best method for beginners. You don’t need FTP skills or database knowledge.

Step 1: Install the Duplicator Plugin on Your Old Site

Go to your old WordPress dashboard. Navigate to Plugins > Add New and search for “Duplicator.” Install and activate it.

Duplicator is free and one of the most trusted migration tools available. It’s been downloaded over 30 million times.

Step 2: Create a Package (Backup of Your Site)

In your WordPress dashboard, go to Duplicator > Packages > Create New.

Click “Next” and let it scan your site. If everything passes, click “Build.” This creates two files:

  • Installer file (installer.php)
  • Archive file (your entire site zipped up)

Download both files to your computer.

Step 3: Upload Files to Your New Host

Log into your new hosting account and open the File Manager or use FTP software like FileZilla.

Navigate to the root folder (usually called public_html). Upload both files there.

Make sure the folder is empty before you upload. If WordPress is already installed there, delete it first.

Step 4: Create a New Database on Your New Host

Go to your new hosting control panel (cPanel). Find MySQL Databases and create a new database. Create a database user and assign it full permissions.

Write down:

  • Database name
  • Username
  • Password
  • Host (usually “localhost”)

You’ll need these in the next step.

Step 5: Run the Installer

Open your browser and type: yournewdomain.com/installer.php

Follow the on-screen steps. When asked, enter your new database details. Click “Test Database” to confirm the connection works. Then click “Run Deployment.”

Duplicator will import your entire site into the new location.

Step 6: Update Your Domain and URLs

After installation, Duplicator usually handles URL updates automatically. But double-check by going to Settings > General in your new WordPress dashboard.

Make sure both the WordPress Address and Site Address show your correct new domain.

Then go to Settings > Permalinks and just click “Save Changes” — this refreshes your URL structure.


Method 2: How to Move a WordPress Site Manually (For Intermediate Users)

If you prefer more control, or the plugin method isn’t working, you can migrate manually. It takes a bit longer but is very reliable.

Step 1: Export Your Database Using phpMyAdmin

Log into your old hosting control panel. Open phpMyAdmin, select your WordPress database, and click Export.

Choose “Quick Export” and select SQL format. Click “Go” to download the .sql file.

Step 2: Download Your WordPress Files via FTP

Use FileZilla (free FTP software) to connect to your old server. Download the entire public_html folder to your desktop. This includes your wp-content folder (where all your images, themes, and plugins live).

This step can take a while depending on your site’s size.

Step 3: Edit the wp-config.php File

Open the wp-config.php file in a text editor like Notepad++ or VS Code. Update these three lines with your new database details:

  • define(‘DB_NAME’, ‘your_new_db_name’);
  • define(‘DB_USER’, ‘your_new_db_user’);
  • define(‘DB_PASSWORD’, ‘your_new_password’);

Save the file.

Step 4: Upload Files to Your New Host

Connect to your new host using FileZilla. Upload all the WordPress files into the public_html folder. This will take some time but be patient — don’t cancel mid-upload.

Step 5: Import Your Database

In your new hosting cPanel, open phpMyAdmin, select your new database, and click Import. Upload the .sql file you downloaded earlier. Click “Go.”

This imports all your posts, pages, settings, and users into the new database.

Step 6: Update URLs in the Database

Your database still has your old domain name stored everywhere. You need to update it. The easiest way is to use the Better Search Replace plugin after logging in to your new WordPress dashboard.

Search for your old domain and replace it with your new domain. Run this for all database tables.


How to Move a WordPress Site to a New Domain (Special Considerations)

Moving to a new domain adds one extra step: redirects.

After you complete your migration, set up 301 redirects from your old domain to your new one. This tells search engines that your site has permanently moved and passes your SEO authority to the new domain.

You can do this by adding code to your old site’s .htaccess file:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) https://yournewdomain.com/$1 [R=301,L]

Or use a redirect plugin if you still have access to the old WordPress dashboard.

Important: Keep your old domain active and redirecting for at least 6–12 months. This protects your Google rankings during the transition.


How to Move WordPress from Localhost to Live Server

Many developers and beginners build their site on a local server (like XAMPP or LocalWP) before going live. Moving it to a real hosting account follows nearly the same steps.

The main differences are:

  • Use Duplicator or the manual method above
  • When running the installer on your live server, make sure you’ve pointed your domain’s DNS to the new host
  • Update your site URL in phpMyAdmin if WordPress doesn’t load correctly

Give DNS propagation 24–48 hours after updating nameservers. Your site might show differently in different locations during this time — that’s completely normal.


Common Mistakes to Avoid When Migrating WordPress

Even experienced users make these errors. Here’s what to watch out for:

Forgetting to back up first
We mentioned it already but it’s worth repeating. A backup is your safety net. Always, always create one.

Not testing the new site before switching DNS
Use a temporary URL or your host’s IP address to test your migrated site before pointing your real domain to it.

Skipping the Search and Replace step
If your old domain URLs are still in the database, images won’t load, links will break, and your admin panel might not work properly.

Canceling mid-upload
If you’re uploading files via FTP and cancel halfway, your site will be broken. Let uploads finish completely.

Not checking email settings
After migration, test your contact forms and email notifications. Sometimes SMTP settings or email plugins need to be reconfigured.


What Happens to Your SEO When You Move a WordPress Site?

This is one of the biggest concerns people have, and understandably so.

Here’s the honest answer: short-term ranking dips are possible, but they’re usually temporary. If you follow the right steps, your SEO should recover and even improve with a better host.

To protect your SEO during migration:

  • Set up 301 redirects (if changing domains)
  • Keep your URL structure the same where possible
  • Submit a new sitemap to Google Search Console after migrating
  • Use the Change of Address tool in Search Console if you’re switching domains
  • Monitor your rankings for 4–6 weeks after the move

Most sites see their rankings stabilize within 2–4 weeks if the migration was done correctly.


Best Plugins to Help You Move a WordPress Site

Here are the top tools to make migration easier:

  • Duplicator — Best free option for full-site migration
  • All-in-One WP Migration — Great for beginners, drag-and-drop interface
  • WP Migrate DB — Best for database-only migrations
  • UpdraftPlus — Great for backups and restores to new hosts
  • Better Search Replace — Essential for updating URLs in your database

Most of these have free versions that work well for standard sites. Larger sites (over 512MB) may need premium versions.


Pros and Cons of DIY WordPress Migration

Pros:

  • Free or very low cost
  • You stay in full control
  • Learn how WordPress works under the hood
  • No need to trust a third party with your data

Cons:

  • Can be time-consuming
  • Risk of errors if you skip steps
  • May need some technical comfort (especially for manual method)
  • Troubleshooting issues can be frustrating for complete beginners

When to hire a professional:
If your site has WooCommerce with hundreds of orders, heavy custom code, or you’re on a tight deadline — paying a WordPress developer ($50–$150) might be worth it. Check Fiverr or Upwork for vetted freelancers.


Conclusion: Moving a WordPress Site Is Easier Than You Think

Moving a WordPress site doesn’t have to be stressful. With the right tools and a clear process, even total beginners can pull it off successfully.

To recap the key steps:

  1. Back up your site before anything else
  2. Choose your method: plugin (easier) or manual (more control)
  3. Set up your new database and upload your files
  4. Run the migration and update your URLs
  5. Set up 301 redirects if you’re switching domains
  6. Test everything before going live
  7. Submit your new sitemap to Google

The most important thing is to take it one step at a time and not rush. Check each step before moving on. And remember — you can always restore your backup if something goes wrong.

You’ve got this.


Frequently Asked Questions (FAQs)

Q1: How long does it take to move a WordPress site?

For most small to medium sites, the migration process takes 1–3 hours. Larger sites with lots of images or products can take longer, especially the file upload step.

Q2: Will I lose my content when I move my WordPress site?

No — as long as you migrate both your files and your database correctly, all your posts, pages, images, and settings will transfer. This is why following each step carefully matters.

Q3: Do I need coding skills to move a WordPress site?

Not if you use a migration plugin like Duplicator or All-in-One WP Migration. These tools handle the technical parts for you with a simple interface.

Q4: Can I move a WordPress site for free?

Yes. Tools like Duplicator (free version), FileZilla, and phpMyAdmin are all free. You’ll just need to pay for your new hosting plan.

Q5: Will my SEO rankings be affected when I move my WordPress site?

There may be a small temporary dip, especially if you’re changing domains. Setting up 301 redirects, keeping your URL structure intact, and submitting a new sitemap to Google Search Console minimizes the impact.

Q6: What’s the easiest way to move a WordPress site to a new host?

Using the Duplicator plugin is the easiest method. It packages your entire site into two files and walks you through reinstalling it on your new host step by step.

Q7: How do I move a WordPress site without downtime?

Test your migrated site using a temporary URL or staging environment before switching your DNS. That way, your live site stays up while you verify everything works on the new server.

Q8: Is it safe to move a WordPress site myself?

Yes, as long as you create a full backup first. If anything goes wrong during migration, you can restore your original site from the backup and start over.

Recommended posts: