Cokama Tools

Cokama Migrate

Copy your Media Library from one WordPress site to another, file by file.

Download free plugin

Free. Works with WordPress 6.5 or later and PHP 7.4 or later. Version 1.2.20.

Cokama Migrate plugin hero image showing the media migration dashboard in a branded browser frame.

Overview

If you've ever moved a WordPress site, you'll know where it usually goes wrong: the uploads folder. That's where years of photos, PDFs and documents live, often many gigabytes of them. Archive-based migration tools try to zip the whole lot up first, which needs as much free disk space again as the site itself. Then the import hits a PHP upload limit, or the connection drops at 97% and you start all over again.

Cokama Migrate takes a different approach. It copies the files in wp-content/uploads directly from the old site to the new one, file by file, in small pieces over a secure connection. There's no archive to build, no upload limit to hit and no third-party service in the middle. If anything interrupts it, you press Resume and it carries on from the exact point where it stopped.

What makes it safe

  • No archive. Nothing is zipped first, so the old site doesn't need free space for a copy of itself.
  • No upload limits. The new site pulls the files in small pieces, so PHP upload limits don't apply.
  • No third party. Files go straight from your old server to your new one. Nothing passes through our servers or anyone else's, which keeps GDPR simple.
  • Resumable. Close the tab, lose your Wi-Fi or have the old server hiccup, and Resume carries on from the exact byte it stopped at.
  • Never overwrites by surprise. Files already on the new site are kept unless you tick "Replace". Identical files are skipped, so running it again only fetches what changed.
  • Verified. When it finishes, every file is checked against the original with a SHA-1 fingerprint, and you get a full report to copy or download.
  • Skips dead weight. Old backups, caches, logs and database dumps sitting in uploads are left behind unless you ask for them.
  • Locked down. The old site only gives read access to its uploads folder, and only for as long as the key you create lasts (from 1 hour to 7 days). Script files, server configuration files, symbolic links and hard links are never copied in either direction, because those are a common way malware spreads between sites.

How to use it

  1. Install Cokama Migrate on both sites.
  2. On the site you're copying from, go to Cokama Tools → Migrate → Let another site copy this one and create a key. Choose how long it should last.
  3. On the site you're copying to, go to Cokama Tools → Migrate → Copy from another site, paste the key and press Check connection. Both sites are checked before anything is copied, including the exact disk space needed.
  4. Press Start copying and watch the live counters. If anything stops it, press Resume.
  5. When it finishes, read the verification report. Once the copy succeeds, the key is deleted from the new site automatically. You can revoke it on the old site at any time.

For very large sites, there's a WP-CLI command that runs the whole copy from the command line.

What this version copies

This version copies your Media Library files, which is the part that most often defeats archive-based tools. Your database (posts, pages, settings) and your themes and plugins are moved with your usual tool. If your web address changes as part of the move, use our free Search & Replace plugin afterwards to update the old addresses in your database.

Where we come in

Migrate makes the hardest part of a move reliable, but a full site migration has many more moving parts: the database, the domain change, DNS, email records, SSL, redirects so you don't lose Google rankings, and checking everything works afterwards. We've moved sites between hosts, from legacy systems into WordPress, and out of AWS into European clouds. We can plan and run the whole migration for you, with no downtime surprises, and then look after the site on its new home.

Rather spend your time on your organisation than on your website?

The plugins point out the problems. A Cokama care plan sorts them out and keeps an eye on things afterwards. One price a year covers updates, backups, security checks, speed and email, with people in Dublin you can ring when something looks wrong. You get no surprise bills and you never have to hunt for a developer.

Talk to us about a care plan