
Copy a site with
one command
Reprint copies a live site to another computer, rewrites links, and recovers from errors without losing progress. It’s a tiny plugin written in PHP, free under the GPL.

Try it now
Open directly in your browser with WordPress Playground, or follow the instructions to download it locally (Requires PHP 7.4 or newer).
# Download Reprint
curl -fL https://plugins.svn.wordpress.org/reprint/downloads/reprint.phar -o reprint.phar
# Copy the demo site
php reprint.phar pull https://reprint-demo.wordpress.net \ --state-dir=./state --fs-root=./files \ --port=8881 --new-site-url=http://localhost:8881 \ --secret=public-demo
Built for real sites
Reprint copies large sites, resumes after a dropped connection, rewrites links, and keeps your copy up to date.
Large sites copy in small parts
Reprint sends the site’s files and database rows in small parts, one at a time. It never builds an archive of the whole site, so the live server needs no spare disk space, and each request stays within the host’s time limits.
One big archive times out

Reprint sends one piece at a time

Interrupted copies resume
If the connection drops or the host times out, the files and database rows already copied stay on your disk. Run the same command again, and Reprint copies only the rest.
A connection error stops the first run

The next run copies only the rest

Every link is rewritten
Reprint reads the places WordPress keeps links: JSON, base64, PHP serialized data, shortcodes, block markup, and HTML, nested in any order. It rewrites each address and keeps the data around it valid.
wp_options › widget_text
− s:53:"<a href='https://example.com/blog/shop/'>Shop</a>";
+ s:46:"<a href='http://localhost:8881/shop/'>Shop</a>";
Reprint swaps the address, drops the /blog path even behind /, and recounts the length.
Keep your copy up to date
When the site changes, run the same command again. Reprint compares the files with your copy and downloads only the ones that changed. The database is copied again in full.
Updating your copy downloads
only the files that changed on the live site.

Copy your own site
The site you copy needs the Reprint plugin. Approve the machine you copy to once, and one command does the rest.

Live site
Install the plugin
Find Reprint in Plugins Add New Plugin and activate it.

Computer or server
Start the pull
Run the command below. The first time, approve it in Tools Reprint Server on the live site and run it again.

New site
Get the copy
The site’s files and database arrive on that machine.
# Download Reprint, unless you already have it
curl -fL https://plugins.svn.wordpress.org/reprint/downloads/reprint.phar -o reprint.phar
# Copy your site
php reprint.phar pull https://your-site.com \
--state-dir=./state --fs-root=./files \
--new-site-url=https://YOUR_NEW_DOMAIN
For a first run, pick a test or staging site. On a host without OpenSSL, approve with a connection token instead and pass it to the client with --secret.
Go further
Each guide starts from a goal and ends with checks.
Clone your site locally
Copy your live site to your computer and open it in your browser.
Move to another host
Copy while the old site stays live, then switch traffic. The new server needs command-line PHP.
Copy only the files or the database
Refresh part of an existing copy.
Move one site out of a network
It becomes a standalone WordPress site.
Change a site’s address
Rewrite links in an existing MySQL or SQLite database.
Build Reprint into your product
A PHP example that runs one copy and reports the result.
Requirements · Commands · Troubleshooting · How Reprint works · Contribute to Reprint · Full handbook
Questions
Will it work on my host?
Yes. Reprint is a regular plugin designed for maximum compatibility. It runs on WordPress 4.7 or newer and PHP 5.6.20 or newer, and needs no SSH or FTP access. If it doesn’t work on your host, open an issue . Reprint’s goal is to support every host.
How big a site can it copy?
As big as the destination can hold. Reprint never packs the site into one archive, so the live server needs no spare disk space and no upload limit applies. It sends files and database rows in parts and saves its place, so a big site only takes longer.
How is it different from other migration plugins?
Reprint copies sites of any size, even on shared hosting with strict limits. It sends the site in small parts and saves its progress after each one, so after a broken connection it continues where it stopped. The next copy downloads only the files that changed. And the data goes straight from your site to your machine, never through someone else’s servers.
Does it copy everything?
The files and the database: posts, pages, media, users, settings, themes, plugins, and their tables, such as WooCommerce orders. It leaves out caches, logs, backup archives, and temporary files. You can also leave files out using the --exclude CLI option. The site keeps changing during the copy, so for a final move, pause orders and uploads and run the pull once more.
Will my live site slow down?
Reprint paces itself. The client waits between requests to leave room for your visitors, and the plugin runs nothing in the background.
Is it safe to install on a live site?
Installing the plugin starts nothing. Nothing leaves the site until an administrator approves a machine in Tools Reprint Server, and the plugin from WordPress.org only allows downloads. It can’t change the site. You can remove a machine’s access there at any time.
Will the copied site send email or charge customers?
Copying your site doesn’t send email or charge anyone. The risk comes later, when you use the copied site. Plugins that still use your live settings can send order emails to real customers or charge them for subscription renewals. Before using the copied site, disable those plugins or switch them to test accounts.
Is the copy private?
You’re in control of that. Reprint transfers your files and database directly from your site to your computer, using your site’s HTTPS connection. The copy then lands in the folder you choose, whether that’s a web root visitors can open or a private folder only you can read.
Does it work with multisite?
Yes, one site at a time. Each copy becomes a standalone WordPress site. Copying a whole network isn’t supported yet. On the main site, plugin tables such as WooCommerce orders stay behind. Read the multisite guide .
Can I send changes back to the live site?
Not yet. The plugin from WordPress.org only downloads. The development build on GitHub can send files and the database back, once an administrator allows it for each machine. Read how pushing works .
What does it cost?
Nothing. Reprint is free and open source under the GNU General Public License (GPL), developed in the open on GitHub.
Where do I get help?
Ask in the Reprint support forum on WordPress.org, and report bugs in the issue tracker on GitHub.
Get involved
Reprint is free and open source under the GPL, and built in the open in the WordPress organization on GitHub. Try it on a test site, report what breaks, and help decide what comes next.