# SeedVault Migration Plan

**Goal:** Migrate seedvault.market from WordPress.com to local Apache2 on port 8899

## Infrastructure
- Stack: Native Apache2 + PHP 8.4 + MySQL
- Target port: 8899
- WordPress.com Business plan (plugin install allowed)

## Lessons Learned
- Standard WP XML export lacks Elementor/Astra styling — requires All-in-One WP Migration .wpress
- Tailscale Funnel times out on 2.8GB+ transfers — use USB for large files
- DNS changed before backup = WordPress.com disconnection (don't repeat)

## Phase 1: Get the .wpress file ✅ COMPLETED
- [x] Confirm All-in-One WP Migration plugin on WordPress.com
- [x] User exports .wpress file
- [ ] User copies .wpress to USB
- [ ] Copy .wpress from USB to /tmp/seedvault-upload/

## Phase 2: Set up local WordPress
- [ ] Create MySQL database + user for seedvault
- [ ] Configure Apache2 virtual host on port 8899
- [ ] Download WordPress, extract to /var/www/seedvault-local/
- [ ] Run WP setup

## Phase 3: Import .wpress
- [ ] Install All-in-One WP Migration plugin on local WP
- [ ] Import .wpress file
- [ ] Update site URLs (search/replace)

## Phase 4: Verify
- [ ] Check Elementor pages render correctly
- [ ] Check WooCommerce products display
- [ ] Compare visual parity against WordPress.com
- [ ] Test checkout flow

## Phase 5: Go live
- [ ] Update DNS to point to local server (via Cloudflare tunnel or direct)
- [ ] Update webhook endpoints
- [ ] Verify WC sync still works

## Key Files
- /tmp/seedvault-upload/ — target for .wpress file
- ~/.hermes/cache/documents/doc_*_seedvaultmarket.WordPress.*.xml — XML export (insufficient, needs .wpress)
