Will WP Ghost Affect WordPress Migration Plugins?

Moved

This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.

View on new site

No. WP Ghost does not interfere with migration plugins because it doesn’t physically change any files. Migration tools copy files and databases, and since WP Ghost’s files remain in their original locations, migration works normally. That said, you should follow a few steps during the process to ensure a smooth transition. Here’s what to do for domain changes versus full server migrations.

Why Don’t Migration Plugins Have Issues with WP Ghost?

WP Ghost works through URL rewrite rules and WordPress runtime filters. It changes how paths appear to browsers and bots, but the actual files on your server (plugins, themes, uploads, core files) stay exactly where WordPress put them. Migration plugins like UpdraftPlus, All-in-One WP Migration, Duplicator, and WP Migrate operate on the physical files and database. Since WP Ghost doesn’t move, rename, or modify any files, there’s nothing for a migration plugin to trip over.

What Should I Do When Changing Just the Domain Name?

If you’re only changing the domain name in Settings > General (for example, moving from staging.example.com to example.com), WP Ghost adjusts automatically. Its settings rely on website paths, not the domain name. After making the domain change, clear all caches and your site should function correctly with the new domain and all WP Ghost paths intact.

What Should I Do for a Full Server or Site Migration?

For full migrations (moving to a new server, duplicating a site, or using a migration plugin to transfer everything), follow these steps to avoid any issues:

Before migrating: Back up your WP Ghost settings from WP Ghost > Backup/Restore. Then deactivate the plugin. This ensures all default WordPress paths are active during the migration, which prevents any path conflicts while the migration plugin copies files and rebuilds the database.

After migrating: On the new server, reactivate WP Ghost and restore your saved settings from WP Ghost > Backup/Restore. Then run a Frontend Test from WP Ghost > Change Paths to verify that the new server doesn’t require additional configuration (for example, Nginx servers may need the hidemywp.conf include added). Clear all caches on the new server.

By following these steps, your migration completes cleanly, and WP Ghost’s security settings are restored on the new server without any manual reconfiguration.

Which Migration and Backup Plugins Are Compatible with WP Ghost?

WP Ghost is compatible with all major migration and backup plugins, including UpdraftPlus, BackupGuard, BackUpWordPress, WP Time Capsule, All-in-One WP Migration, Duplicator, and ManageWP. For ManageWP specifically, set WP Ghost’s Plugin Loading Hook to “Must Use Plugin” for seamless integration.

The most common compatibility concern with WP Ghost is actually caching plugins (not migration plugins), and WP Ghost has been tested extensively with WP Rocket, LiteSpeed Cache, Breeze, Autoptimize, Hummingbird, and many others. For the full list, see the compatible plugins list.

Frequently Asked Questions

Do I have to deactivate WP Ghost before every migration?

For full server migrations, yes. Deactivating ensures default paths are active during the transfer. For domain-only changes, no. WP Ghost adjusts to domain changes automatically. Just clear the cache afterward.

Will my WP Ghost settings survive the migration?

WP Ghost settings are stored in the WordPress database. If your migration plugin transfers the database (which most do), the settings come along. However, the rewrite rules in .htaccess may need to be regenerated on the new server. That’s why running a Frontend Test after migration is recommended, as it verifies the rules are in place.

What if the new server is a different type (Apache to Nginx)?

If you’re migrating from Apache to Nginx (or vice versa), WP Ghost needs to generate rewrite rules in the new format. After restoring and saving WP Ghost settings on the new server, follow the server-specific setup instructions. For Nginx, see the Nginx setup guide. For Apache, verify AllowOverride All is set.

Does WP Ghost modify WordPress core files?

No. WP Ghost uses server rewrite rules and WordPress filters at runtime. No files are moved, renamed, or modified. This is exactly why migration plugins work without issues: there’s nothing physically changed for the migration tool to conflict with. Deactivating WP Ghost restores all default paths instantly.