Title: NS Migration Push
Author: Nuno Sarmento
Published: <strong>December 2, 2026</strong>
Last modified: December 2, 2026

---

Search plugins

![](https://ps.w.org/ns-migration-push/assets/banner-772x250.png?rev=3839550)

![](https://ps.w.org/ns-migration-push/assets/icon-256x256.png?rev=3839550)

# NS Migration Push

 By [Nuno Sarmento](https://profiles.wordpress.org/nunosarmento/)

[Download](https://downloads.wordpress.org/plugin/ns-migration-push.1.1.0.zip)

 * [Details](https://wordpress.org/plugins/ns-migration-push/#description)
 * [Reviews](https://wordpress.org/plugins/ns-migration-push/#reviews)
 *  [Installation](https://wordpress.org/plugins/ns-migration-push/#installation)
 * [Development](https://wordpress.org/plugins/ns-migration-push/#developers)

 [Support](https://wordpress.org/support/plugin/ns-migration-push/)

## Description

NS Migration Push replaces one WordPress site (the destination, usually live) with
another (the source, usually staging), without SSH, SFTP or phpMyAdmin. Install 
it on both sites, switch on access on the source, paste the source URL and access
key into the destination, and follow the screens.

The destination does all the work. It pulls the source’s database, plugins, themes
and new media over an authenticated connection and prepares everything off to the
side, in temporary tables and a private folder. The live site keeps running unchanged
until you click Apply. Apply swaps the tables with a single atomic `RENAME TABLE`
and moves the prepared folders into place, which takes a few seconds. The previous
tables and folders are kept, so a single click puts everything back until you choose
to finish.

#### What it does

 * Copies every selected source table into the destination, keeping the destination’s
   table prefix.
 * Rewrites the source URL and server path to the destination’s, including inside
   serialised data (objects included, without unserialising them), JSON-escaped 
   and URL-encoded values.
 * Compares plugin and theme folders by checksum and replaces only the folders that
   differ. Plugins on the destination that the source doesn’t have are never deleted.
 * Copies media that is new or changed on the source. Nothing is ever deleted from
   the destination’s uploads.
 * Checks every downloaded PHP file against the destination’s PHP version before
   anything is applied, so a broken plugin can’t take the site down.
 * Clears the object cache and OPcache after Apply and after rollback, and asks 
   WP Rocket, W3 Total Cache, WP Super Cache, LiteSpeed Cache, SiteGround Speed 
   Optimizer and Autoptimize to purge their caches.

#### What it keeps from the destination

 * The site URLs, search engine visibility (so a “discourage search engines” staging
   setting never reaches live), the upload path and user roles. You can add more
   options to this list (for example caching or security plugin settings), with `*`
   as a wildcard.
 * Tables that look like logs, statistics or sessions, and Wordfence data. These
   are unticked by default and you can tick them.
 * Plugins that are active on the destination but not on the source (security, caching,
   mail and similar plugins are ticked to stay active).
 * Plugins and themes where the source has an older version, so the destination 
   is never downgraded by default.

#### Safety checks before anything changes

 * WordPress and PHP versions on both sites, database privileges, write access, 
   and whether folders can be swapped with instant renames.
 * Content added or edited on the destination after the source was copied, which
   a replacement would lose. These are listed by name.
 * On multisite, which plugins are network-activated on one side only.
 * Free disk space.

#### Multisite

On a multisite network the tool replaces the main site only. Users, the network 
tables and all other subsites are left exactly as they are. Plugin and theme files
are shared by the whole network, so subsites run the source’s versions of any folders
that are replaced. On a single-site destination the users tables can be replaced
too.

#### Security

 * Source access is off by default, is switched on by an administrator for 48 hours
   at a time and can be switched off at any moment.
 * Each request is signed with HMAC-SHA256 using the access key, a timestamp and
   a single-use nonce. The key itself never travels, and captured requests can’t
   be replayed.
 * Repeated failed requests from one address are refused for 15 minutes.
 * HTTPS is required for the source URL.
 * Only super admins on multisite, and administrators on single sites, can use the
   tool.

### External services

This plugin connects only to the WordPress site whose URL you enter as the source,
and only from the destination’s server while you run a migration. It sends signed
requests to that site’s REST API and receives its database rows, file lists and 
files. No data is sent to the plugin author or to any third party.

### Video demo

A one-minute walkthrough: connecting the two sites, the pre-flight checks, preparing,
applying and the rollback option.

## Screenshots

[⌊Pre-flight checks, including content that would be lost on the destination.⌉⌊Pre-
flight checks, including content that would be lost on the destination.⌉[

Pre-flight checks, including content that would be lost on the destination.

[⌊Choosing tables, plugins, themes, media and the options to keep.⌉⌊Choosing tables,
plugins, themes, media and the options to keep.⌉[

Choosing tables, plugins, themes, media and the options to keep.

[⌊Ready to apply: summary of what will change.⌉⌊Ready to apply: summary of what 
will change.⌉[

Ready to apply: summary of what will change.

[⌊Applied, with rollback still available.⌉⌊Applied, with rollback still available
.⌉[

Applied, with rollback still available.

[⌊Source site: switching access on and copying the access key.⌉⌊Source site: switching
access on and copying the access key.⌉[

Source site: switching access on and copying the access key.

## Installation

 1. Install and activate the plugin on both sites. On multisite, network-activate it
    or activate it on the main site.
 2. On the source, go to Tools > NS Migration Push, choose “This is the source site”
    and switch access on.
 3. On the destination, go to Tools > NS Migration Push and choose “This is the destination
    site”. Paste the source URL and access key, then click “Connect and check”.
 4. Review the checks and selections, then click “Prepare”. The destination doesn’t
    change during this step.
 5. Make sure you have a current backup, then click “Apply”.
 6. Check the site. Click “Roll back” if anything is wrong, or “Finish” to delete the
    rollback data.
 7. Switch access off on the source.

## FAQ

### Does it need SSH, SFTP or database access?

No. Everything runs in wp-admin through normal web requests, in short steps that
stay well below PHP and proxy timeouts.

### Can I push live to staging instead?

Yes. Either site can be the source; the destination is always the site that gets
replaced.

### How long does the destination stay down during Apply?

It doesn’t go down. The database swap is a single atomic rename and folders are 
moved with renames, so Apply usually takes a few seconds.

### What if something goes wrong after Apply?

Click “Roll back”. The original tables, plugin and theme folders and changed media
are restored, and new media added by the migration is removed. Rollback is available
until you click “Finish”.

### The destination says the source returned an unexpected response

Bot protection or a firewall on the source (for example Cloudways Bot Protection,
Cloudflare or a security plugin) is challenging the destination’s server requests.
Switch it off for the source while migrating, or allow the destination server’s 
IP address.

### Is everything copied?

The database tables you select, the plugins and themes folders, and media in the
uploads folder. Must-use plugins, drop-ins (such as object-cache.php or advanced-
cache.php) and wp-config.php are not copied, because they are usually specific to
each server.

### Does it work with Cloudflare, Redis or WP Rocket?

Yes. Requests to the source are server-to-server, and the object cache and the common
page-caching plugins are cleared after Apply. If Cloudflare caches HTML for the 
destination, purge it after Apply.

### Can developers change the defaults?

Yes, with these filters:

 * `nsmpush_table_default`: whether a source table is ticked by default.
 * `nsmpush_log_table_pattern`: the pattern for log and statistics tables.
 * `nsmpush_skip_plugins`: plugin folders not copied by default.
 * `nsmpush_keep_active_plugins`: plugins kept active on the destination by default.
 * `nsmpush_default_preserve_options`: destination options kept by default.
 * `nsmpush_default_uploads_exclude`: upload paths not copied by default.
 * `nsmpush_step_seconds`: how long each step works before reporting progress (default
   20).
 * `nsmpush_allow_http`: allow a plain-HTTP source URL, for local development only.
 * `nsmpush_sslverify`: SSL certificate verification for requests to the source.

## Reviews

![](https://secure.gravatar.com/avatar/162b89bc50bbd94c6248346dd5bf3ec95df0c1936943f5bcb48e5ceb022927ea?
s=60&d=retro&r=g)

### 󠀁[Absolutely brilliant and precise](https://wordpress.org/support/topic/absolutely-brilliant-and-precise/)󠁿

 [skalavi](https://profiles.wordpress.org/skalavi/) December 4, 2026

I had a very smooth experience with this plugin. The migration process was incredibly
clean, accurate, and secure. It's definitely one of the best migration tools I've
ever used. Great job to the developer

 [ Read all 1 review ](https://wordpress.org/support/plugin/ns-migration-push/reviews/)

## Contributors & Developers

“NS Migration Push” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Nuno Sarmento ](https://profiles.wordpress.org/nunosarmento/)

[Translate “NS Migration Push” into your language.](https://translate.wordpress.org/projects/wp-plugins/ns-migration-push)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ns-migration-push/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ns-migration-push/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ns-migration-push/)
by [RSS](https://plugins.trac.wordpress.org/log/ns-migration-push/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Requests are signed with HMAC-SHA256 with replay protection; the access key is
   no longer sent with requests.
 * Failed requests are throttled per address.
 * Working files are kept in uploads/ns-migration-push/, with a check that folders
   can be swapped with instant renames.
 * Tables are created from a validated column and index description; no SQL text
   from the source is executed.
 * File writes, downloads and folder moves refuse any path that leaves its expected
   folder or passes through a symbolic link.
 * Media that appears on the destination after the comparison is never overwritten;
   large plugin and theme files are checksum- and syntax-checked like the rest.
 * Roll back only removes media the migration created and that is unchanged since.
 * Usernames and emails from the source are no longer stored on disk.
 * Neutral source and destination wording, so it works in either direction.
 * Tables that look like logs, statistics or sessions are kept from the destination
   by default.
 * Plugins or themes older on the source are not copied by default.
 * Warns about content added or edited on the destination since the source was copied.
 * Reports network-activation differences on multisite.
 * PHP syntax check of downloaded plugin and theme code against the destination’s
   PHP version.
 * Filters for all defaults.
 * Requires WordPress 6.2 or later.

#### 1.0.0

 * First release.

## Meta

 *  Version **1.1.0**
 *  Last updated **3 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [deployment](https://wordpress.org/plugins/tags/deployment/)[migration](https://wordpress.org/plugins/tags/migration/)
   [multisite](https://wordpress.org/plugins/tags/multisite/)[rollback](https://wordpress.org/plugins/tags/rollback/)
   [staging](https://wordpress.org/plugins/tags/staging/)
 *  [Advanced View](https://wordpress.org/plugins/ns-migration-push/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/ns-migration-push/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ns-migration-push/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ns-migration-push/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ns-migration-push/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ns-migration-push/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ns-migration-push/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ns-migration-push/reviews/)

## Contributors

 *   [ Nuno Sarmento ](https://profiles.wordpress.org/nunosarmento/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ns-migration-push/)