Moodle to LifterLMS: Planning a Migration That Actually Works
How Moodle courses, activities, question banks, grades and enrolment methods map to LifterLMS, what has no equivalent, how to convert Moodle XML quiz…
Read articleMoving a brochure site to a new host is routine. When you move a LifterLMS site to a new host or domain, it is not, because the site takes money on a schedule, sends and receives webhooks, protects files, and has students logged in at all hours. A copy-and-paste migration that is fine for a blog can lead to missed renewals, duplicate charges or a support inbox full of "my course has gone" messages.
This checklist is for site owners and developers planning a host change, a domain change, or both. It follows the order we use: prepare, copy, fix the LifterLMS-specific settings, cut over, and verify. It assumes you already know how to move WordPress itself; the focus is on what is different for an LMS.
Five things make a LifterLMS move different from an ordinary WordPress move:
.htaccess file, which only Apache reads.Write these down from the current site before you touch anything. Each one becomes a check on the new site.
| Item | Where to find it | Why it matters |
|---|---|---|
| Payment gateways in use | LifterLMS > Settings > Checkout | Webhook URLs and API keys may need updating. |
| Upcoming renewals in the next 72 hours | LifterLMS > Status > Scheduled Actions, pending llms_charge_recurring_payment | Choose a cut-over window with few renewals. |
| Outgoing webhooks | LifterLMS > Settings > REST API, Webhooks | Receivers may filter by your domain. |
| API keys used by other systems | LifterLMS > Settings > REST API, API Keys | The systems using them must point at the new domain. |
| Add-on licenses | LifterLMS > Add-ons & more, or wp llms license list | Licenses are activated against the site URL. |
| Web server type | Ask the old and new host | Apache to Nginx changes how protected media works. |
| PHP and database versions | Tools > Site Health > Info | LifterLMS 10.x needs PHP 7.4 or newer; match or improve. |
| Email sending | Your SMTP or email plugin | A new domain needs SPF, DKIM and DMARC records. |
| Cron setup | wp-config.php and the server's crontab | A server cron job does not move with the files. |
Take a full backup of files and database at this point, and confirm you can restore it. Our guide to LifterLMS backup and recovery explains what a restorable backup of a course site includes.
The aim is to have a working copy on the new host that cannot charge anyone until you say so.
rsync plus a database dump.define( 'LLMS_SITE_IS_CLONE', true ); to the new site's wp-config.php. LifterLMS then treats it as a clone and keeps automatic recurring payments off regardless of the URL check.define( 'DISABLE_WP_CRON', true ); and not yet adding a server cron job.If you are only changing hosts and keeping the same domain, you will typically test the new copy on a temporary URL or with a hosts-file entry. Our article on staging sites and recurring payments explains the URL lock and these constants in detail.
If the domain changes, replace the old URL in the database with WP-CLI's search-replace command, which handles serialized data safely. Run it as a dry run first:
wp search-replace 'https://old.example.com' 'https://new.example.com' \
--all-tables-with-prefix --precise --skip-columns=guid --dry-run
# Review the report, then run it for real
wp search-replace 'https://old.example.com' 'https://new.example.com' \
--all-tables-with-prefix --precise --skip-columns=guid
wp cache flush
wp rewrite flush
--all-tables-with-prefix matters here. LifterLMS creates its own tables, such as wp_lifterlms_user_postmeta, wp_lifterlms_events and wp_lifterlms_webhooks, and does not register them with WordPress, so a default run only touches the core tables. Including every prefixed table covers them and any other plugin tables too.
Then visit Settings > Permalinks and click Save, check that course, lesson and checkout pages load, and open a certificate to confirm its images display.
Webhook delivery URLs point at other systems, so they normally stay the same. What changes is the sender: tell anyone who filters by your domain or IP address. Systems that call your LifterLMS REST API, such as Zapier or a custom integration, must switch to the new domain. API keys themselves keep working, because they are not tied to the URL.
LifterLMS stores protected uploads in a lifterlms folder inside your uploads directory and writes an .htaccess file there to block direct access. Nginx ignores .htaccess, so if the new host runs Nginx, add an equivalent rule to the server configuration or those files may become publicly reachable by URL. Our guide to protecting course media files covers the Nginx side.
After a domain change, check that each paid add-on still shows as licensed and reactivate keys if needed, either on the add-ons screen or with wp llms license activate followed by your key. Deactivate keys on the old domain once it is retired so they do not count against your site limit.
LLMS_SITE_IS_CLONE to the old site's wp-config.php so it can never run renewals again.LLMS_SITE_IS_CLONE, turn cron back on with a server cron job, and when LifterLMS shows its staging notice, click Enable Automatic Payments. That stores a new URL lock for the new address. On a host move that keeps the same domain, the stored lock still matches, so the notice may not appear at all; check under Scheduled Actions that renewals are being processed.The LifterLMS documentation on staging sites and recurring payments warns that switching this mode on a live site can lead to missed or catch-up payments, which is why the order above keeps exactly one site in charge of renewals at every moment.
The site URL no longer matches the URL LifterLMS stored, so it disables automatic recurring payments as a precaution. On the final production site, click Enable Automatic Payments.
Usually yes after a domain change, because login cookies belong to the old domain. Their accounts, enrollments and progress are unchanged.
Normally not, because the webhook URL is unchanged. Check the endpoint is receiving events successfully after DNS switches.
Find it under Scheduled Actions or on the order, and decide with the customer whether to charge it now. Do not run catch-up charges in bulk without reviewing them.
Do the inventory first; it tells you how risky the move is. If you have active subscriptions, a payment gateway with webhooks and protected media, we strongly recommend a rehearsal on staging before the real cut-over. If you would rather have the move planned and run for you, with renewals monitored afterwards, our LifterLMS migration service covers host and domain changes. Tell us where you are moving from and to and we will propose a cut-over plan.
How Moodle courses, activities, question banks, grades and enrolment methods map to LifterLMS, what has no equivalent, how to convert Moodle XML quiz…
Read article
What you can and cannot export from Kajabi, how products, offers, modules and assessments map to LifterLMS, how to bring members across without a…
Read article
A practical plan for moving from Tutor LMS to LifterLMS: how topics, quizzes, assignments and monetization map, how to import content through the…
Read articleSkip the trial and error. Get specialist LifterLMS help and ship faster.