=== PhoenixForge Migration Assistant ===
Contributors: ryanpurvisphoenixforge
Tags: migration, search replace, staging, import, export
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Full site migration with database search-replace, staging site creation, and import/export packages.

== Description ==

PhoenixForge Migration Assistant handles the complete WordPress migration workflow. Move sites between hosts, create staging copies, and run safe database search-replace operations — all from a simple admin interface.

**The problem:** Moving a WordPress site means exporting the database, finding and replacing URLs in serialized data, transferring files, fixing permissions, and hoping nothing breaks. One wrong step and you have a broken site.

**The solution:** PhoenixForge Migration Assistant packages your entire site into a single migration bundle, handles serialized data search-replace correctly, and lets you import on the destination with one click. It also creates staging copies for safe testing.

= Free Features =

* Full site export (database + files) as a single package
* One-click import on the destination site
* Serialization-safe database search-replace
* Selective export (database only, files only, or both)
* Migration package size optimisation
* Export/import progress tracking

= Pro Features =

* One-click staging site creation
* Push staging changes back to production
* Scheduled migration packages
* Remote site-to-site transfer (no download needed)
* Large site support with chunked transfers
* Priority support

= Part of the PhoenixForge Suite =

PhoenixForge Migration Assistant pairs with PhoenixForge Backup Manager — create a verified backup before migration, then use Migration Assistant for the move. Use PhoenixForge QuickStart on the destination to verify everything is configured correctly.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/wp-migration-assistant/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Navigate to Migration Assistant in the admin menu
4. Choose Export to create a migration package, or Import to restore one
5. For search-replace, enter old and new URLs before export

== Frequently Asked Questions ==

= Does it handle serialized data correctly? =
Yes, PhoenixForge Migration Assistant uses serialization-safe search-replace that correctly updates serialized strings, arrays, and objects in the database.

= What is the maximum site size it can handle? =
The free version handles sites up to 512 MB. Pro removes this limit with chunked transfer support for sites of any size.

= Can I create a staging copy of my site? =
Staging site creation is available in Pro. It creates a complete copy of your site in a subdirectory for safe testing.

= Is there a Pro version? =
Yes, Pro adds staging, remote transfers, scheduled packages, and large site support. Visit phoenixforge.io for details.

= Will it work with my hosting provider? =
PhoenixForge Migration Assistant works on any standard WordPress hosting. Some managed hosts may restrict file operations — check with your host if you encounter permission issues.

== Screenshots ==

1. Migration dashboard with export and import options for database and files
2. Serialization-safe search-replace configuration with old and new URL fields
3. Export progress tracker showing package creation status and estimated size
4. Import interface with migration package upload and one-click restore
5. Migration history log with package details, timestamps, and status

== Third-Party Services ==

This plugin connects to external services under certain conditions:

= PhoenixForge License Server =
When you activate a Pro license key, the plugin validates it with the PhoenixForge license server.
* Service URL: https://phoenixforge-licenses.phoenixforge.workers.dev
* Privacy Policy: https://phoenixforge.io/privacy
* Terms of Service: https://phoenixforge.io/terms
* Data sent: License key, site URL
* When: On license activation, deactivation, and daily revalidation

= PhoenixForge Update Server =
The plugin checks for new versions from the PhoenixForge update server. This is disabled in WordPress.org distributed builds.
* Service URL: https://phoenixforge-updates.phoenixforge.workers.dev
* Privacy Policy: https://phoenixforge.io/privacy
* Terms of Service: https://phoenixforge.io/terms
* Data sent: Plugin slug and current version
* When: During WordPress update checks (approximately every 12 hours)

= Outbound Webhooks (Pro Feature) =
Pro users can optionally configure webhook URLs to send event data to services like Zapier, Make, or n8n.
* Only active when explicitly configured by the site administrator
* Data sent: Event type, site URL, and event-specific data
* Destination URL is entirely user-controlled

== Changelog ==

= 2.0.0 =
* Initial public release
* Full site export and import
* Serialization-safe search-replace
* Migration package optimisation
* Progress tracking

== Upgrade Notice ==

= 2.0.0 =
Initial release.
