
內容簡介
Flexa Site Migrator 是一款專為 WordPress 網站遷移與測試環境建立而設計的外掛。它能夠輕鬆將生產環境的網站遷移至測試環境,無需 SSH 存取,並透過 WordPress 控制台進行操作,確保過程簡便且安全。
【主要功能】
• 分塊建置:資料庫以分塊方式匯出,避免超時
• 三種部署方式:透過連結、wp-admin 匯入或獨立安裝程式
• 安全的搜尋替換:使用遞迴算法更新 URL,確保不損壞序列化選項
• 處理大型網站:檔案分割為約 200MB 的壓縮包
• 令牌保護傳輸:使用 SHA-256 哈希令牌確保安全
外掛標籤
開發者團隊
② 後台搜尋「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
This plugin does not connect to any service operated by us or by a fixed third party, and it sends no data anywhere on its own.
The only outbound network request it makes is 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.
