Installing LUX Content Migration and Choosing a Site Role
- Installation and site rolesu2014u201csourceu201d and u201cdestinationu201du2014and why the plugin must be installed on both sites
- Why we chose not to connect the two sites directly
- Why the work performed on the source site had to be made lightweight
- Why eliminate the concepts of u201clicenseu201d and u201cactivation slotsu201d altogether?
- A look at how the LUXCM plugin works
- References
Installation and site rolesu2014u201csourceu201d and u201cdestinationu201du2014and why the plugin must be installed on both sites
I designed the plugin to ask users to choose a role as soon as they launch it for the first time.

“Is this site the source or the destination?” To explain why I put that question on the very first screen, I first need to look at how other migration tools have approached the issue—and what kinds of failures those approaches have caused in practice.
I’m not saying this based on speculation. I went back through the documentation and identified three distinct failure patterns.
Why we chose not to connect the two sites directly
One of the best-known WordPress migration tools is WP Migrate DB Pro.
The tool uses a “Push/Pull” model. Its official documentation states explicitly: “WP Migrate DB Pro requires WordPress to be installed on both sites before you begin the migration.” So far, that is the same premise I use.
But that’s where the similarities end.
With this tool, one site—for example, a local or staging site—must be configured with the connection details for the other site to establish a direct connection.
With Pull, the local site connects to the remote site in real time and retrieves its database, media, theme, and plugins. Push works the other way around.
The problem is that this connection operates in real time through PHP.
The same documentation acknowledges the limitations of this approach: because it relies on PHP, it can run into restrictions such as post_max_size and memory_limit, and it may also be blocked by a firewall.
I consider this point especially important. Having two sites recognize each other in real time and send direct requests to one another is powerful, but it is also fragile.

A hosting provider’s firewall, a security plugin blocking outbound requests, firewall rules between servers, or IP allowlists—any one of these can prevent the migration from even starting.
And this is not a problem caused by the user misusing the migration tool. It follows from the underlying assumption of the model itself: two independent servers must trust each other and communicate directly.
The source and destination sites know nothing about each other. They do not connect to one another, and neither site requires the other’s URL or API key.
The source site simply queries its own database and creates a single file with a .wpmpx extension. The destination site uploads that file and writes its contents to its own database.
That file is the only point of contact between the two sites.
Neither a firewall, a security plugin’s outbound restrictions, nor network settings between servers can block this process—because there is no connection to block in the first place.
I see the distinction between “source” and “destination” as more than a way to display different screens. It exists to make the file-based design clear to the user—once you identify whether the site you are currently using is the one that creates the file or the one that receives it, the idea that the two sites never connect directly becomes an intuitive part of the workflow.
Why the work performed on the source site had to be made lightweight
The second set of materials I reviewed concerned failure cases involving All-in-One WP Migration.
BlogVault’s roundup lists the reasons real users encounter export failures, and they all stem from resource limits on the source site—the live server that is actually serving visitors.
One issue is that “servers have memory limits, and if a site needs more memory than that limit allows, the export cannot finish.” Another is that “if processing takes too long, the server may terminate the request to protect itself.” In other cases, there may not be enough disk space even to create temporary files. The solutions offered by the article ultimately involve increasing max_execution_time to 300–600 seconds, upload_max_filesize and post_max_size to 128M–256M, and WP_MEMORY_LIMIT to 256M.
I see the proposed solution itself as part of the problem.
In most cases, the source site is a live, operating website with real visitors accessing it at that very moment.
Asking users to change their server settings for the sake of a single migration is not practical advice for the majority of people who have no control over their hosting environment. Shared-hosting customers often cannot raise their memory_limit at will, and even when they can, they usually cannot be sure how the change might affect other parts of the site.
That is why I did not design the export process as “one enormous request.”
The plugin first gathers the list of posts, then processes just 25 posts per AJAX request and appends each batch to a temporary file.
Because each request finishes quickly before the next one begins, even a large site is unlikely to run into execution-time or memory limits within a single PHP request.
Instead of asking users to increase their server limits, the plugin adapts itself so it can complete safely within the server’s existing configuration.
Why eliminate the concepts of u201clicenseu201d and u201cactivation slotsu201d altogether?
The third issue I identified operates at a somewhat different level. Many paid WordPress plugins use a licensing system that allows a license key to be activated across multiple sites.
Freemius’s official documentation describes a recurring trap in this model: activation limits can be reached when a site instance has been deleted or become inaccessible without the license being properly deactivated.
A common scenario looks like this: a developer activates a license on a staging or temporary site and then leaves that site behind without cleaning it up.
From the license server’s perspective, the defunct site still occupies one active-site slot. As a result, no slot remains for the production site that actually needs the license.
But because the abandoned staging site is no longer accessible, there is no way to deactivate it through the normal process.
I did not treat this as someone else’s problem.
Because migration inherently involves two sites—the source and the destination—I knew that introducing licenses or accounts could immediately create this kind of trap.
That is why this free plugin has no license keys, activation slots, or authentication traffic with an external server.
The source/destination distinction is purely a local setting that determines whether the current site displays the export screen or the import screen.
There is no account to create, no key to obtain, and no need to keep track of how many slots have been used on which site.
No matter how many sites you use the plugin on, or how many times you delete and recreate a staging site, you will never encounter an “insufficient activation slots” error.
A look at how the LUXCM plugin works
Dividing the workflow into the two roles of source and destination is not simply a way to display different menus.
That distinction rests on three specific design decisions.
First, the two sites never connect directly; their only point of contact is a single file. This removes the failure points created by firewalls and security plugins that block outbound requests.
Second, the work performed on the source site is split into small batches, so users do not have to increase their hosting provider’s execution-time or memory limits.
Third, by eliminating the concepts of licenses and activation slots altogether, the plugin avoids a common trap in migration tools: a “dead” site occupies an activation slot, leaving the tool unavailable on the site that actually needs it.
I understand that the rule requiring the plugin to be installed on both sites may feel inconvenient.
But I can say with confidence, based on the evidence, that the design hidden behind that rule addresses—one by one—the failures repeatedly reported with other tools.
References
- Delicious Brains — Migrating your entire WordPress site using WP Migrate DB Pro
- BlogVault — All-in-One WP Migration Unable To Export? Fix It Quickly With These 6 Methods
- Freemius — Known License Activation Issues

This article was designed using DECOBLOCKS.