Title: Elbutschitos HTML Publisher
Author: El Butschito
Published: <strong>September 21, 2026</strong>
Last modified: September 21, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/elbutschitos-html-publisher.svg)

# Elbutschitos HTML Publisher

 By [El Butschito](https://profiles.wordpress.org/elbutschito/)

[Download](https://downloads.wordpress.org/plugin/elbutschitos-html-publisher.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/elbutschitos-html-publisher/#description)
 * [Reviews](https://wordpress.org/plugins/elbutschitos-html-publisher/#reviews)
 *  [Installation](https://wordpress.org/plugins/elbutschitos-html-publisher/#installation)
 * [Development](https://wordpress.org/plugins/elbutschitos-html-publisher/#developers)

 [Support](https://wordpress.org/support/plugin/elbutschitos-html-publisher/)

## Description

Elbutschitos HTML Publisher generates a fully static HTML export of your WordPress
posts and pages, using WordPress purely as a headless content source, and pushes
the result to a deployment target of your choice: Netlify or any standard SFTP host.

**Core features**

 * **Template-driven generation** – use your own HTML template with simple `###placeholder###`
   markers (title, content, date, author, and any custom field via a flexible field-
   mapping syntax). Assign a different template per post or page when needed.
 * **Two deployment targets** – upload over SFTP (password or private key authentication)
   to any web host, or deploy straight to Netlify via its API. Batch transfer with
   progress feedback, or push a single page at a time from the post editor.
 * **Automatic URL rewriting** – internal links and media URLs are automatically
   rewritten to root-relative paths, with additional custom find-and-replace rules
   available for anything else (old domains, CDN paths, and so on).
 * **Working contact forms on a static site** – forms keep working after export.
   On Netlify, forms are automatically wired up for Netlify Forms. On SFTP targets,
   a small bundled PHP handler emails submissions, with spam-honeypot protection
   and lightweight client-side validation (required fields, email format) that needs
   no configuration for accessibility-friendly form markup.
 * **Navigation from a WordPress menu** – keep your designer’s existing, fully styled
   navigation markup and let the plugin fill it with the real menu structure from
   a WordPress menu (multi-level menus supported), instead of maintaining two separate
   navigations by hand.
 * **Markdown export** – export all content as plain `.md` files with YAML front
   matter, optionally bundling and localizing referenced images, for use with static-
   site generators such as Hugo, Jekyll, or Eleventy, or for archiving in a note-
   taking tool.
 * **HTML cleanup rules** – remove WordPress-only CSS classes, strip or change arbitrary
   attributes via simple selector-based rules, and inject custom per-post data into
   the template.

Elbutschitos HTML Publisher is aimed at agencies and developers who want the editorial
convenience of WordPress combined with the speed, security, and low hosting cost
of a static site.

#### Bundled libraries

This plugin bundles the following third-party, MIT-licensed libraries so that no
separate `composer install` step is required:

 * [phpseclib](https://github.com/phpseclib/phpseclib) (3.x) – SFTP support
 * [paragonie/constant_time_encoding](https://github.com/paragonie/constant_time_encoding)–
   runtime dependency of phpseclib
 * [league/html-to-markdown](https://github.com/thephpleague/html-to-markdown) –
   Markdown export
 * [simplehtmldom](https://sourceforge.net/projects/simplehtmldom/) – HTML parsing/
   manipulation used throughout the generator

All are MIT-licensed and compatible with this plugin’s GPLv2-or-later license. See
the LICENSE.txt file for the full plugin license text and the `vendor/` subfolders
for each library’s own license.

#### External services

This plugin only contacts external services that you explicitly configure and trigger
yourself:

 * **Netlify** – if you configure a Netlify site and click “Deploy” (or “Test connection”),
   the plugin sends your generated site files (and, for the connection test, a simple
   API request) to the Netlify API (`https://api.netlify.com`), authenticated with
   the access token you provide. This happens only when you actively trigger a deploy
   or connection test – never automatically or in the background. [Terms of Service](https://www.netlify.com/legal/terms-of-use/),
   [Privacy Policy](https://www.netlify.com/privacy/).
 * **Your own SFTP host** – if you configure an SFTP target, the plugin connects
   to the host you specify to upload files, using the credentials you provide. This
   is a server of your own choosing, not a service operated by this plugin’s author.

No data is sent anywhere without an explicit action from you, and no usage tracking
or analytics of any kind is built into this plugin.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/content2html` directory, or
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Go to “HTML Publisher” in the admin menu to configure a template, choose a deployment
    target (SFTP or Netlify), and set up any optional features (forms, navigation, 
    Markdown export).
 4. Optional but recommended: define `CONTENT2HTML_ENCRYPTION_KEY` in `wp-config.php`
    before entering SFTP/Netlify credentials, so stored secrets are encrypted with 
    a key that isn’t stored in the database itself.

## FAQ

### Does this replace WordPress on my live site?

No. WordPress keeps running as your editorial backend. Visitors are served the generated
static files instead, from Netlify or your SFTP host.

### Does my hosting need to run PHP for the static site to work?

Only if you use SFTP as a target and want the built-in contact-form handler to work,
since that handler is a small PHP script. Everything else (the static pages themselves)
is plain HTML and works on any static host. Netlify deployments do not require PHP
at all, including for forms.

### What happens to my forms after export?

See the “Working contact forms on a static site” feature above – forms are automatically
rewired to either Netlify Forms or a bundled PHP mail handler, depending on your
chosen target.

### Can I keep my own hand-built navigation instead of generating it from a WordPress menu?

Yes. The navigation feature is opt-in per navigation (main/footer) and does nothing
unless explicitly enabled.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Elbutschitos HTML Publisher” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ El Butschito ](https://profiles.wordpress.org/elbutschito/)

[Translate “Elbutschitos HTML Publisher” into your language.](https://translate.wordpress.org/projects/wp-plugins/elbutschitos-html-publisher)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/elbutschitos-html-publisher/),
check out the [SVN repository](https://plugins.svn.wordpress.org/elbutschitos-html-publisher/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/elbutschitos-html-publisher/)
by [RSS](https://plugins.trac.wordpress.org/log/elbutschitos-html-publisher/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial public release: template-based static generation, SFTP and Netlify deployment,
   automatic and custom URL rewriting, per-post templates, working contact forms(
   Netlify Forms / PHP mail handler), WordPress-menu-driven navigation, Markdown
   export, HTML cleanup rules.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [headless cms](https://wordpress.org/plugins/tags/headless-cms/)[netlify](https://wordpress.org/plugins/tags/netlify/)
   [sftp](https://wordpress.org/plugins/tags/sftp/)[static export](https://wordpress.org/plugins/tags/static-export/)
   [static site](https://wordpress.org/plugins/tags/static-site/)
 *  [Advanced View](https://wordpress.org/plugins/elbutschitos-html-publisher/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/elbutschitos-html-publisher/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/elbutschitos-html-publisher/reviews/)

## Contributors

 *   [ El Butschito ](https://profiles.wordpress.org/elbutschito/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/elbutschitos-html-publisher/)