| 开发者 | fstylegear09543 |
|---|---|
| 更新时间 | 2026年10月31日 11:22 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp fsse export to export without the time limits of a web request.wp-content/uploads/fsse-export/{date-time}/. The plugin places .htaccess and an empty index.html in that folder so that the files cannot be accessed from outside. On nginx, .htaccess is not used: configure the server so that this folder cannot be accessed from outside.
WP-CLI
wp fsse export [--concurrency=<n>] [--url-mode=<relative|absolute>] [--target=<url>] [--alias=<hosts>] [--exclude=<prefixes>] [--changed] [--resume=<id>] [--dir-index] [--skip-ssl-verify] [--zip] [--json]
wp fsse report <id> prints the result of an export as JSON.
fstyle-static-export folder to /wp-content/plugins/, or install the plugin from the Plugins screen.No. The plugin only sends HTTP requests to your own site (the home URL and the domains you list as "Domains treated as this site"). Nothing is sent to the plugin author or any third party, and no tracking is included.
Anything that needs PHP or the database when a visitor uses it: comment forms, the built-in search, contact forms, login, admin-ajax.php and REST API calls (likes, view counters, infinite scroll, etc.), and nonces (they keep the value from the export time and are rejected after a few days). The pre-export check and the result screen list the pages where these were found, so you can replace them (for example with an external form service) or exclude those URLs.
In wp-content/uploads/fsse-export/. The plugin adds .htaccess (Apache) and an empty index.html to this folder so that the exported files and zip files cannot be opened directly from outside; download the zip from the plugin screen. On nginx, configure the server so that this folder cannot be accessed from outside. Uninstalling the plugin deletes only its settings. The exported files are kept; delete the folder yourself if you no longer need it.
Click Resume. Progress is saved after every step. If your server limits requests, lower the number of concurrent requests in the settings. With WP-CLI, use wp fsse export --resume=<id>.
SSL certificates are verified by default. If your local copy of the site uses a self-signed certificate, the requests to your own site will fail. In that case, check Do not verify SSL certificates in the settings (it is off by default), use wp fsse export --skip-ssl-verify, or add this filter: add_filter( 'fsse_verify_ssl', '__return_false' );. Do not turn verification off on a public site.
The plugin is translation-ready (text domain fstyle-static-export). Translations are provided through translate.wordpress.org.
.htaccess and an empty index.html are added if they do not exist yet (existing files are not overwritten), and an empty index.html is added to each export folder. A notice is shown when they cannot be written. On nginx, block access to the folder in the server settings.--skip-ssl-verify, or with the new fsse_verify_ssl filter.wp fsse export --dir-index).