daypress
admin route/d-admin/import
doc versionv1.0.4
reading time8 min read
section group27 · Hosting, Security & Ops
Docs/Hosting, Security & Ops
/d-admin/import8 min readv1.0.4

1-Click WordPress Migration, 500 MB WXR XML & Fidelity Analyzer

Daypress's migration engine (crates/daypress-server/src/importer and crates/daypress-ast) converts WordPress content, media, page-builder layouts, and structured plugin schemas into native SQLite tables while preserving relational ID integrity across your entire site.

Path A: 1-Click JSON Bundle (Recommended)

The 1-Click JSON bundle captures everything standard WordPress XML leaves behind—including active theme tokens, DaystudioKit global styles, media binaries, ACF field group schemas, forms, and 301 redirects:

  1. In Daypress Admin, open Tools → Import (/d-admin/import) and click Download WordPress Exporter Plugin (.zip) (served from /d-admin/api/download-migrator-plugin).
  2. On your existing WordPress site, go to Plugins → Add New → Upload Plugin, activate Daypress 1-Click Migrator, and export your site bundle JSON (or stream directly to your Daypress URL).
  3. Upload the bundle in /d-admin/import (up to 500 MB) or send it to POST /wp-json/daypress/v1/import (or MCP daypress_import_wp_bundle).
/d-admin/import · 1-Click WordPress Migration & Fidelity Analyzer
Daypress Import screen showing the 1-Click WordPress Migrator plugin download, JSON bundle uploader, 500 MB WXR XML importer, and dry-run analyzer
Tools -> Import (/d-admin/import): download the companion WordPress exporter plugin, run a dry-run fidelity scan, or commit a 500 MB JSON/WXR import.

Path B: 500 MB Streaming WXR 1.2 XML

When you cannot install a plugin on the source WordPress host (for example, WordPress.com or locked agency hosting), export a standard Tools → Export (All Content) .xml file and upload it to /d-admin/import or stream it via CLI:

bash
# Stream a large WordPress WXR 1.2 XML export (up to 500 MB) in constant memory
curl -X POST https://example.com/wp-json/daypress/v1/import-wxr \
  -u "admin:YOUR_APP_PASSWORD" \
  -H "Content-Type: application/xml" \
  --data-binary @wordpress-export.xml
Relational ID Integrity Guarantee: Both /import and /import-wxr maintain deterministic old_post_id → new_post_id and old_term_id → new_term_id maps inside a single ACID SQLite transaction so page_on_front, page_for_posts, post_parent, _thumbnail_id, nav_menu_item hierarchies, and threaded comments never break.

Dry-Run Migration Fidelity Analyzer

Before writing a single row to SQLite, drop your JSON or WXR file onto the Dry-Run Fidelity Analyzer card in /d-admin/import (POST /wp-json/daypress/v1/import/analyze). It inspects every post, page builder widget, shortcode, and active plugin and returns an itemized compatibility score (validated at 95%–100% across the 1.0 reference corpus).

Converged builders, plugins & explicit non-goals

WordPress SourceDaypress v1.0.4 Native Target
Elementor 3.16+ (Flexbox/Grid, Kits, _elementor_data)Transpiled 1:1 into native DaypressLayout AST nodes + DaystudioKit global tokens.
Divi Builder 4 ([et_pb_*]) & WPBakery ([vc_*])Parsed from nested shortcodes into native Section, Grid, Column, and content AST blocks.
Gutenberg Core Blocks & Classic HTMLConverted into editable DayStudio AST layouts with responsive typography & spacing preserved.
ACF & Custom Post Type UIIngested into native Content Model CPTs, taxonomies, and typed Structured Field Groups (including repeaters).
Yoast SEO, Rank Math & RedirectionMapped to per-post SEO title/description/OG meta and daypress_redirects 301 rules.
Contact Form 7 & WPFormsConverted into native FormStudio schemas and Form AST embeds backed by the Submissions Vault.
WPML, Polylang & Co-Authors PlusConverged into daypress_languages, daypress_translations hreflang groups, and multi-author bylines.
Explicit Non-Goals in v1.0.4: Daypress never executes arbitrary .php theme/plugin code (eliminating entire classes of RCE vulnerabilities). Full WooCommerce cart/checkout engines, BuddyPress/bbPress forums, LMS courses, and WordPress Multisite networks are outside v1.0 scope—use sandboxed .wasm extensions or outbound webhooks for custom logic.