| 开发者 | wikssq |
|---|---|
| 更新时间 | 2026年11月29日 21:31 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
.tar.gz (default) or .zip. Both open with any archive tool.hole-in-one-migration folder to /wp-content/plugins/ or install the zip via Plugins → Add New → Upload Plugin.The wp-content folder (uploads, plugins, themes, must-use plugins, languages) and all database tables with the WordPress table prefix. Plugin, must-use plugin, theme and uploads folders that the site keeps outside wp-content are included too, and are restored where the new site keeps them. WordPress core files and wp-config.php are not included: the new host has its own, with its own database credentials.
Cache folders and cache drop-ins, debug logs, archives of other backup plugins, and must-use plugins of hosting companies (WP Engine, Kinsta, GoDaddy, Bluehost) that would break on another host. You can turn this off and add your own exclusions under Settings.
The server is slow or overloaded. Let it run: the plugin automatically halves the work per request after every failure. You can also lower "Work time per request" in Settings.
The browser got no answer at all, which usually means the browser blocked the request itself. Try again in a private (incognito) window or in another browser. This happens especially when you reach the new site through a hosts file entry before it is live: the browser may still keep data of the old site at the same address, such as a service worker. In your normal browser, remove that site's service worker (developer tools, Application, Service workers, Unregister) and clear its site data.
Start it again: downloads go through WordPress for logged-in administrators only and support resuming, so the browser or a download manager continues where it stopped. You can also fetch the file from the storage folder's backups/ folder by FTP.
No, single sites only.
Yes. .tar.gz opens with 7-Zip, WinRAR, macOS Archive Utility or tar -xzf, and .zip opens everywhere. Inside are wp-content/, hio-database.sql (table prefix written as __HIOP__) and hio-manifest.json, plus outside-wp-content/ if the site keeps some folders outside wp-content.
In wp-content/hole-in-one-migration-<random>/, a folder whose name contains 96 random bits and is not linked anywhere. Nothing in it is served by the web server: archives are downloaded through WordPress by administrators only. On Apache, LiteSpeed and IIS the folder also denies all web access (.htaccess, web.config); on nginx, where those files have no effect, the random name keeps it from being found. Still, delete backups after downloading them, and delete archives you uploaded by FTP once the import is done.
Edit HOLEMI_BUYMEACOFFEE_URL at the top of hole-in-one-migration.php, define it in wp-config.php, or use the holemi_buymeacoffee_url filter. An empty string hides the box.
$wpdb->prepare(), with placeholders for all table names, column names and values. The only statements run as they are, are the ones of the SQL dump inside the archive.content_url(), so it uses the scheme (http or https) of the site.get_plugins().$wpdb->prepare()).holemi (was hio). Settings of earlier versions are not carried over.wp-content are exported and restored where the new site keeps them. The new site keeps its own uploads folder setting.wp-content/hio-migration/ to wp-content/hole-in-one-migration-<random>/; download backups you want to keep from the old folder by FTP, then delete it.