[WordPress] 外掛分享: Flexa Site Migrator – Migration & Staging

首頁 › 外掛目錄 › Flexa Site Migrator – Migration & Staging
WordPress 外掛 Flexa Site Migrator – Migration & Staging 的封面圖片
全新外掛
安裝啟用
—
尚無評分
39 天前
最後更新
0%
問題解決
WordPress 6.2+ PHP 7.0+ v1.1.0 上架:2026-08-21

內容簡介

Flexa Site Migrator 是一款專為 WordPress 網站設計的遷移與測試外掛,能夠輕鬆將生產環境的網站遷移至測試環境,無需使用 SSH 或 shell 存取,並透過控制台進行操作。

【主要功能】
• 分塊建構資料庫與檔案
• 三種部署至測試環境的方式
• 安全的序列化搜尋替換
• 處理大型網站的能力
• 令牌保護的傳輸方式

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Flexa Site Migrator – Migration & Staging」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Flexa Site Migrator migrates a WordPress site from production to staging. It builds a package made of one or more archive-*.zip files (site files, split automatically), a database.sql dump, and a standalone installer.php. It works whether staging is on the same server or a different one, and requires no shell/SSH access — everything runs through the WordPress admin over regular HTTP.
Key features

Chunked build — the database is exported in chunks (using mysqldump when available, otherwise pure PHP) and files are compressed in chunks to avoid timeouts.
Three ways to deploy to staging — pull-by-link, wp-admin import, or a standalone installer for empty sites.
Serialize-safe search-replace — URLs are updated with a recursive unserialize → replace → re-serialize algorithm, so serialized options/widgets never get corrupted.
Handles large sites — the build is fully chunked and files are split into ~200MB archive parts; the database deploy runs in a single request (check the System check panel for your PHP limits before importing very large databases).
Token-protected transfers — pull links carry an SHA-256 hashed token (only the hash is stored on the server), with optional password and IP allowlist restrictions.

Deployment methods
Method A — Pull via link (simplest): Install the plugin on both production and staging. Build the package on production, copy the link, paste it on staging under Site Migrator → Import, and click Pull & Migrate. Staging downloads the files from production (byte-range supported) and runs extraction, DB import, and search-replace on its own.
Method B — wp-admin import: Copy the package folder to staging’s wp-content/flexasm-packages/, then run the migration from Site Migrator → Import.
Method C — Standalone installer: For an empty staging site with no WordPress. Upload installer.php and the package files to the site root, open installer.php in a browser, enter the database details, and start the migration.
External services
Your migration packages, tokens, and settings stay in your own WordPress installation. The plugin makes two kinds of outbound request, described below.
Migration transfer (your own sites)
The main outbound request goes to the production site URL you paste on the staging side (Site Migrator > Import > “Pull from production via link”). When you click Test connection or Pull & Migrate, staging contacts that URL to download the migration package (site files and the database dump) you created on production. The request carries the access token from the link, and, if the package is password-protected, the password you enter (sent in a request header). No third party is involved: both ends are your own sites, and nothing is transmitted until you paste a link and start a pull.
Deactivation feedback (Flexa Product Intelligence)
When you go to deactivate Flexa Site Migrator on the Plugins screen, a short optional survey asks why. It is served by Flexa’s product intelligence service at https://product-intelligence.flexacommerce.com. It runs only on wp-admin/plugins.php, never on the front end, and never blocks or delays deactivation.
What is sent, and when:

On opening the Plugins screen: a request to /api/v1/config (product slug and tier) to load the survey configuration. Cached for 6 hours.
When you deactivate or interact with the survey: the reason you pick and any optional message you type, sent to /api/v1/deactivations, /api/v1/events, /api/v1/feedback, /api/v1/feature-requests, and /api/v1/recovery-events.

Every request includes an anonymous per-site identifier (a random UUID), the plugin version and tier, and by default your WordPress/PHP version and locale. No email, site domain, user identity, or raw IP is collected. Turn environment reporting off with add_filter( 'flexa_site_migrator/deactivation_survey/config', fn( $c ) => array( 'collect_environment' => false ) + $c ); and disable the whole survey with add_filter( 'flexa_site_migrator/deactivation_survey/enabled', '__return_false' );.
Service terms and privacy policy: https://flexacommerce.com/pages/terms and https://flexacommerce.com/pages/privacy

延伸相關外掛

文章
Filter
Mastodon