| 开发者 | hosseinkarami |
|---|---|
| 更新时间 | 2026年5月21日 23:46 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/pages/your-slug/, change to anything you like (e.g. /resources/, /guides/)sales.example.com at your site and pages appear at sales.example.com/your-slug/htmlpp_sanitize_html filter to add cleanup rules for other AI export formatshtml-page-publisher folder to /wp-content/plugins/ (or install from Plugins → Add New).In wp-content/uploads/html-page-publisher/<slug>/. Each page has its own directory containing an index.html and an assets/ folder for images. Version-history snapshots are kept separately in wp-content/uploads/html-page-publisher-backups/<slug>/.
Open HTML Pages, click Edit on a page. You get the native WordPress code editor for the HTML, a Version History panel to restore earlier saves, and an Images & Assets panel to add, replace, or delete the page's images without re-uploading the HTML. Use Replace (rather than uploading a new file) to swap an image while keeping the same filename, so existing assets/... references in your HTML keep working.
Yes. The standard DISALLOW_FILE_EDIT (or DISALLOW_FILE_MODS) constant in wp-config.php disables in-dashboard HTML editing and image changes here too, the same way it disables WordPress's core file editor.
Two steps:
sales.yourdomain.com) at the same server as your WordPress site.https://sales.yourdomain.com/your-slug/ in addition to the regular prefix URL.
Only users with the manage_options capability (administrators by default) can upload pages. Uploaded HTML is served as-is, including any <script> tags it contains, so only upload HTML you trust. The plugin strips known runtime wrappers injected by some AI export tools but does not otherwise filter markup.
No. Uninstalling removes the plugin's settings but leaves the uploaded pages in wp-content/uploads/html-page-publisher/ (and their version-history snapshots in wp-content/uploads/html-page-publisher-backups/) intact. Delete those folders manually if you want to remove them.
Pages are served via a direct PHP readfile that happens before WordPress's main query runs. Most page caches (WP Rocket, W3 Total Cache) won't cache these URLs by default. If you want them cached at the CDN edge, add the URL pattern to your caching rules. They're plain HTML with cache-friendly headers.
.wp-header-end marker.htmlpp_max_backups (default 10).DISALLOW_FILE_EDIT / DISALLOW_FILE_MODS, mirroring WordPress's core file-editor lockdown.manage_options, MIME-whitelist, and realpath path-traversal protections; backups are stored outside the publicly served directory./pages/).