

Distan の管理画面。環境チェック、ボタンひとつの静的 HTML 書き出し(差分・リンク切れの表示、テンプレート書き出し、取りこぼしの取り込み)、そして納品に合わせた各種設定を 1 画面で行えます。
Distan turns WordPress into a build environment for static HTML deliverables. You author in WordPress, then export clean, self-contained HTML that runs anywhere. No WordPress, no PHP, and no database are required on the production server.
Distan is designed for projects where the agency maintains the source and hands over HTML files: recruitment sites, campaign pages, or a section of an existing corporate site where another WordPress installation is not an option. Edit in WordPress, regenerate, review the changes, and deliver the files through your existing publishing process.
Built around the handoff
What it does
assets/, uploads move to media/. The wp-content directory disappears from the deliverable.noindex.sitemap.xml and a minimal robots.txt, built from the pages actually generated, using the production URL.content.md) that combines every page’s main content into one file — handy for feeding a site into AI tools (Gemini Notebook / NotebookLM, and similar).url() and @import), laid out at their real paths, with a README of ground rules. In-page markers can drop the block-library CSS (distan:no-block-styles) or drop scripts and styles under a path prefix (distan:drop-assets).distan_extra_assets) — for assets referenced only from inside a script, such as a JSON file fetched by JavaScript.Requirements
Requires WordPress 6.0+, PHP 8.0+, writable uploads and working loopback HTTP (the site being able to request itself). ZIP downloads require ZipArchive. No direct SQL, no exec(), no external binaries, no external APIs. It runs on Local, MAMP, XAMPP, DDEV, Docker, or shared hosting, and works offline.
Not for every case
Distan is not suitable when the client updates the site themselves, or when forms, search, comments, or membership are required. If you need built-in deployment to many destinations, scheduled or change-based publishing, or managed static hosting, a larger tool such as Simply Static or Staatic will fit better.
Structured data: add only what is known, inspect what is delivered
Enable the schema.org option to add basic WebPage JSON-LD to exported pages without existing JSON-LD. Configure the production URL first. Directory and page exclusions use source paths relative to the WordPress home URL, one per line (for example /private/ and /contact/thanks/). Directory rules include descendants; page rules match only that path. Trailing slashes are ignored and query variants share the rule. Existing JSON-LD is retained even when excluded or disabled. Regenerate after changing settings.
Every generated page is also checked for basic JSON-LD syntax and URL consistency, even when automatic additions are off. See the generation screen and delivery report for per-page outcomes, block numbers and issues. Existing data is never automatically repaired. Limited or failed inspection is explicitly recorded. Use Schema.org Validator and Google Rich Results Test for additional validation; this local audit does not guarantee search appearance.