---
title: Move a local WordPress site to a live server
url: https://wp2wp.link/guides/local-wordpress-to-live-server
language: en
updated: 2026-11-23
publisher: wp2wp.link
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language questions, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://wp2wp.link/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://wp2wp.link/agents"
---

# Move a local WordPress site to a live server

Copy the site’s files and database to your hosting, then change every link from the local address to your domain. The easiest way is wp2wp.link: it copies the site straight from your computer.

By [wp2wp.link](https://wp2wp.link/guides/about) · Updated 23 November 2026 · 4 min read

- Result: Your site runs at your domain
- Your time: About 15 minutes
- Cost: Free, up to 50 GB per move
- Your local site: Stays as it is

## Which way fits you?

- Straight from your computer: No export file, so no upload limit. Guided step by step.
- With a backup plugin: One export file. It must fit your host’s upload limit.
- By hand: Export the database, upload by FTP, then replace the address. For people who know these tools.

Using Studio, Local, XAMPP or Docker? The guide for your tool has the exact menu names:

- [WordPress Studio](https://wp2wp.link/guides/wordpress-studio-to-hosting) (its own sync works with WordPress.com and Pressable only)
- [Local](https://wp2wp.link/guides/localwp-to-any-host) (its own push works with WP Engine and Flywheel only)
- [XAMPP, MAMP, Laragon](https://wp2wp.link/guides/xampp-mamp-wordpress-to-live)
- [Docker, DDEV, Lando, wp-env](https://wp2wp.link/guides/docker-wordpress-to-hosting)

## Before you start

- Your local site is running and you can log in as admin.
- Your hosting has PHP 7.4 or newer.
- You can create a database there and upload a file, with FTP or the file manager.

## Straight from your computer

wp2wp.link guides you through it with Reprint, the free copy plugin from WordPress.org.

Your data: your site passes through our server while it is copied. We don’t store it, but we could read it. Move sites with confidential data by hand instead. [Details](https://wp2wp.link/#data)

1. On your local site, install Reprint and the connector plugin.Reprint is under **Plugins → Add New Plugin**. The connector is a .zip file from the guide on wp2wp.link.
2. Under **Tools → Reprint Relay**, tick the box and click **Connect**.A code appears, for example `K7QM-3XDA`. Type it into the guide on wp2wp.link.
3. At your hosting, create an empty MySQL database.Note its name, user, password and host.
4. Upload the helper file `reprint-web.php` to your domain’s folder and open it.The guide gives you the file and its password. Your domain doesn’t lead to the new hosting yet? [Use a temporary address](https://wp2wp.link/guides/preview-website-before-dns-change).
5. In the helper, tick the box and click **Get migration token**.Check that both screens show the same characters, then click **Approve** on your local site.
6. In the helper, enter the database details and click **Start migration**.Keep your computer on and the local site running until it is done. Links and images then point to your domain.
7. Clean up: delete `reprint-web.php` and the `reprint-data` folder, then click **Disconnect**.**Disconnect** is under **Tools → Reprint Relay** on your local site.

## With a backup plugin

All-in-One WP Migration or Duplicator pack the site into one file.

Size limits: the file must not be larger than the host’s upload limit. Some free versions have a limit of their own: [limits compared](https://wp2wp.link/guides/free-wordpress-migration-plugins-compared).

1. On your local site, export the site with the plugin.
2. Import the file on the new host.All-in-One WP Migration: install WordPress and the plugin there, then import. Duplicator: upload its `installer.php` and the archive, then open the installer.

## By hand

This works everywhere without a plugin. But you must get every step right yourself.

1. Export the database.With phpMyAdmin, Adminer or `wp db export`.
2. Upload the WordPress folder to your hosting.With FTP or the file manager.
3. Create an empty database there and import the SQL file.
4. Enter the new database details in `wp-config.php`.Name, user, password and host.
5. Replace the local address with your domain in the database.Use `wp search-replace` or the Better Search Replace plugin. Never replace it as plain text in the SQL file: [why](https://wp2wp.link/guides/fix-localhost-urls-after-migration).

## How you know it worked

- Your domain opens the site with all pages and images.
- You can log in at `/wp-admin` with your usual login.
- No link or image points to `localhost` any more.

## If something goes wrong

### Images still load from localhost

The address wasn’t replaced everywhere. Run a search and replace for the old address: [how](https://wp2wp.link/guides/fix-localhost-urls-after-migration). Links typed as plain text, for example in a privacy policy, are not changed.

### The database import times out

phpMyAdmin has a size and time limit. Import with `wp db import` instead, or copy the site straight from your computer.

### The upload is too large for the host

The export file is bigger than the upload limit. Copy the site straight from your computer. That needs no upload: [more](https://wp2wp.link/guides/all-in-one-wp-migration-import-limit).

## Questions

### Can I move a local site without FTP or cPanel access?

You need some way to put one file on the hosting. A file manager in the hosting panel is enough.

### How long does it take?

Setting up takes about 15 minutes. The copy time depends on your upload speed. A 1 GB site with a 50 Mbit/s upload takes a few minutes.

### Is my local site changed?

No. Reprint only reads your content and files. Approving adds your hosting’s key, and the connector stores a few settings. Deleting the connector removes both.

wp2wp.link walks you through the copy from your computer to your hosting, step by step.

[Start your move](https://wp2wp.link/#migrate)Free · No account

### Sources, checked 18 November 2026

[Reprint on WordPress.org](https://wordpress.org/plugins/reprint/), [Reprint limitations](https://github.com/WordPress/reprint/blob/trunk/docs/handbook/limitations.md), [wp search-replace](https://developer.wordpress.org/cli/commands/search-replace/), [Studio Sync](https://wordpress.studio/docs/sync/), [Local Connect](https://localwp.com/help-docs/connect/local-connect).

## Related guides

- [WordPress Studio to any host](https://wp2wp.link/guides/wordpress-studio-to-hosting)
- [Local (LocalWP) to any host](https://wp2wp.link/guides/localwp-to-any-host)
- [Move WordPress from one host to another](https://wp2wp.link/guides/migrate-wordpress-to-new-host)
- [Images still pointing to localhost](https://wp2wp.link/guides/fix-localhost-urls-after-migration)
