Most botched WordPress migrations are botched in the planning phase, not the execution. The team doesn’t know which plugins really matter, doesn’t have the SMTP credentials written down, doesn’t know what the cron is doing. The inventory is the cheap part — half a day of running scripts and reading the output — and it’s the part that turns the migration from improvisation into a known operation.
What’s happening
A WordPress site on cPanel sits in the middle of a small web of dependencies: the WordPress install itself, the cPanel account around it (cron, email, DNS), the network around the server (Cloudflare, CDN, integrations), and the people around the site (admin emails, monitoring destinations). The migration affects most of these in some way. The inventory documents them all in one place so the receiving side can match or replace each.
How to verify
Run the inventory against the live site, save the output. The categories below cover what matters.
The fix
The inventory checklist:
-
WordPress core and stack.
wp core version php -v mysql --version wp db size --size_format=mb du -sh ~/public_htmlNote PHP version, MySQL/MariaDB version, database size, total file size.
-
Plugins. Active and inactive both. Versions, source (WordPress.org, paid, custom).
wp plugin list --field=name,version,status,update --format=csv > inventory-plugins.csvFor paid plugins, list the license keys and their renewal dates separately.
-
Themes. Active, plus the fallback default.
wp theme list --field=name,version,status --format=csv > inventory-themes.csvNote whether the active theme is a child theme and what its parent is.
-
Custom code.
mu-plugins/, custom snippets infunctions.php, anywp-content/<custom>directory. List the files:ls -la ~/public_html/wp-content/mu-plugins/ find ~/public_html/wp-content -maxdepth 2 -type d -
Users. Particularly administrators.
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered --format=csv -
Site URLs. Production, any staging, and any historical staging URLs that might still be referenced in the database.
wp option get siteurl wp option get home wp db query "SELECT DISTINCT option_value FROM wp_options WHERE option_name IN ('siteurl', 'home')" -
Email. The admin email, plus any SMTP relay configured at the WordPress level.
wp option get admin_email wp config get SMTP_HOST 2>/dev/null wp option get wp_mail_smtp 2>/dev/null -
Cron. Both WP-Cron and cPanel system cron.
wp cron event list --format=csv > inventory-wpcron.csv crontab -l > inventory-cpanel-cron.txt -
DNS. All zone records from cPanel > Zone Editor or
dig:dig +short example.com ANY @8.8.8.8 -
Mail accounts. cPanel > Email Accounts. List each address, capture mailbox sizes:
uapi --user=$USER Email list_pops -
External integrations. Stripe, PayPal, Mailchimp, Google Analytics, Search Console, any webhook destination configured in a plugin. These all live in plugin settings — you need to enumerate them by going through each plugin’s settings page.
-
Third-party services bound to the server IP. SMTP relays that whitelist by IP, webhook senders that whitelist by IP, anything with an IP allowlist. List them — they need to be updated after the migration with the new server’s IP.
-
Backups. Where they live, who they belong to, how to restore one. If JetBackup, document the schedule. If a third-party service (UpdraftPlus to S3, BlogVault, etc.), capture the credentials.
-
Monitoring. Uptime checks, alerting destinations, log aggregation. Each needs the new endpoint after migration.
-
Performance baseline. Capture before-migration TTFB and PageSpeed scores so you can confirm the new host meets them.
The inventory is a document. Hand it to the migration team before the work starts. Stack Harbor produces this kind of inventory as part of migration work.
Stack Harbor operates production WordPress at scale — see Enterprise WordPress for the managed model, or book a WordPress consult for a written read of your current shape.