Move a local WordPress site to a live server
Short answer
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.
- 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 computerEasiestNo export file, so no upload limit. Guided step by step.
- With a backup pluginOne export file. It must fit your host’s upload limit.
- By handExport 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 (its own sync works with WordPress.com and Pressable only)
- Local (its own push works with WP Engine and Flywheel only)
- XAMPP, MAMP, Laragon
- Docker, DDEV, Lando, wp-env
Before you start
- Your local site is running and you can log in as admin.
- Your hosting has PHP The programming language WordPress runs on. Hosting plans let you choose the PHP version. 7.4 or newer.
- You can create a database there and upload a file, with FTP and SFTP The usual way to copy files to your web space with a program such as FileZilla. SFTP is the encrypted version. or the File manager A page in your hosting panel (cPanel, Plesk or your host’s own) where you can upload, edit and delete files in your browser, without an FTP program..
Straight from your computer
wp2wp.link guides you through it with Reprint A free, open-source plugin on WordPress.org that copies a WordPress site to another place. wp2wp.link guides you through a move with it., 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
On your local site, install Reprint and the Connector plugin A small WordPress plugin from wp2wp.link. You need it only when your site is on your computer. You install it there next to Reprint..
Reprint is under Plugins → Add New Plugin. The connector is a .zip file from the guide on wp2wp.link.
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.At your hosting, create an empty Database (MySQL, MariaDB) Where WordPress keeps your posts, pages, settings and users. The files hold the theme, plugins and uploads. A move needs both. database.
Note its name, user, password and host.
Upload the Helper file The file reprint-web.php from wp2wp.link. You upload it into your domain’s folder at the new host and open it in your browser.
reprint-web.phpto 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.
In the helper, tick the box and click Get migration token.
Check that both screens show the Characters to compare A short row of letters and digits. When you move a site from your computer with wp2wp.link, your old site and the helper on your new hosting both show it., then click Approve on your local site.
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.
Clean up: delete
reprint-web.phpand thereprint-datafolder, 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.
On your local site, export the site with the plugin.
Import the file on the new host.
All-in-One WP Migration: install WordPress and the plugin there, then import. Duplicator: upload its
installer.phpand the archive, then open the installer.
By hand
This works everywhere without a plugin. But you must get every step right yourself.
Export the database.
With phpMyAdmin, Adminer or
wp db export.Upload the WordPress folder to your hosting.
With FTP or the file manager.
Create an empty database there and import the SQL file.
Enter the new database details in
wp-config.php.Name, user, password and host.
Replace the local address with your domain in the database.
Use
wp search-replaceor the Better Search Replace plugin. Never replace it as plain text in the SQL file: why.
How you know it worked
- Your domain opens the site with all pages and images.
- You can log in at
/wp-adminwith your usual login. - No link or image points to
localhostany 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. 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.
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 moveFree · No account
Sources, checked 18 November 2026
Reprint on WordPress.org, Reprint limitations, wp search-replace, Studio Sync, Local Connect.
Was this page helpful?
Thanks for letting us know.
Thanks for letting us know. What was missing or wrong? Write to benni@wp2wp.link, we read every message.