Title: Moon Static HTML Pages
Author: Moon Technolabs
Published: <strong>iýun 11, 2026</strong>
Last modified: iýul 17, 2026

---

Search plugins

![](https://ps.w.org/moon-static-html-pages/assets/banner-772x250.png?rev=3568616)

![](https://ps.w.org/moon-static-html-pages/assets/icon-256x256.jpg?rev=3568616)

# Moon Static HTML Pages

 By [Moon Technolabs](https://profiles.wordpress.org/moontechnolabs/)

[Download](https://downloads.wordpress.org/plugin/moon-static-html-pages.1.0.1.zip)

 * [Details](https://tuk.wordpress.org/plugins/moon-static-html-pages/#description)
 * [Reviews](https://tuk.wordpress.org/plugins/moon-static-html-pages/#reviews)
 *  [Installation](https://tuk.wordpress.org/plugins/moon-static-html-pages/#installation)
 * [Development](https://tuk.wordpress.org/plugins/moon-static-html-pages/#developers)

 [Support](https://wordpress.org/support/plugin/moon-static-html-pages/)

## Description

Moon Static HTML Pages is a high-performance solution for serving WordPress content.
It generates static HTML files of your posts, pages, and archives, and serves them
either through high-performance .htaccess rules or an early-PHP fallback.

### Features

 * **Ultra-Fast Performance:** Serve your pages as raw static HTML. Bypasses WordPress
   core and database queries entirely when using .htaccess mode.
 * **Automated Site Generation:** One-click tool to generate your entire site’s 
   static files with real-time progress tracking and logs.
 * **Real-time Synchronization:** Automatically regenerates specific static pages
   whenever you update a post, page, or category.
 * **Smart Pagination Caching:** Automatically discovers and generates static HTML
   for paginated archives and listing pages.
 * **Advanced Redirection Manager:** Powerful built-in SEO tool to manage 301, 302,
   and 307 redirects with direct .htaccess synchronization.
 * **WooCommerce Integration:** Intelligently handles dynamic cart/checkout pages
   and overrides Store API nonces for seamless add-to-cart functionality on cached
   shop pages.
 * **Smart Exclusions:** Robust settings to exclude specific post types or individual
   pages from being cached.
 * **Admin Bypass:** Logged-in administrators and editors automatically bypass the
   static cache to ensure they always see live, real-time changes.
 * **Premium Admin Dashboard:** Modern interface with real-time status indicators
   and colored “Generated” badges directly in your Post/Page lists.
 * **Multi-Layer Serving:** Employs high-performance Apache rewrite rules for maximum
   speed, with a reliable PHP fallback for other server environments.
 * **WordPress Multisite Compatible:** Fully supports multisite networks with individual
   static cache directories and rules for each subsite.
 * **Dynamic URLs (Bypass Cache):** Specify dynamic URLs that should always bypass
   the cache, perfect for custom query strings or tracking parameters.
 * **Auto Generation on Save:** Automatically regenerates specific additional pages(
   like custom list pages) whenever content is updated.
 * **Author Pages Generation:** Dedicated settings and buttons to easily generate
   static HTML for author pages independently.
 * **Enhanced List Tables:** Sortable “Static HTML” columns and filter views with
   live counts for “Generated” and “Not Cached” pages.
 * **Quick Actions:** Convenient “Regenerate Static HTML” and “Exclude” / “Remove
   Exclusion” toggle options directly in the post listing row actions.

### Configuration

 1. **Dashboard Overview:** Navigate to **Moon Static HTML > Dashboard**.
 2. **Exclusions:** Check any Post Types or Taxonomies (Categories/Tags) you want to
    exclude from the static cache under the “Manage Post Type Exclusions” and “Manage
    Category / Tag Exclusions” sections.
 3. **Nonce Auto Refresh:** If you use AJAX forms or WooCommerce in long-running admin
    sessions, enable “Nonce Auto Refresh” and select an interval.
 4. **CPT Listing Page Mapping:** If you use custom post types, map them to their corresponding
    archive/listing page URLs (e.g., set `portfolio` to `/portfolio-list/`). This ensures
    the listing page is regenerated when a new item is published.
 5. **Save Settings:** Click the **Save All Settings** button at the bottom of the 
    page to apply your configuration.
 6. **Enable High Performance:** Click the **Update .htaccess Rules** button to deploy
    the Apache rewrite rules, enabling ultra-fast direct serving of static files.
 7. **Generate Site:** Finally, click **Start Generation** or **Generate All** to build
    your initial static HTML cache.

## Screenshots

[⌊Dashboard showing static site generation controls, exclusion settings, performance
status, and CPT mapping configuration.⌉⌊Dashboard showing static site generation
controls, exclusion settings, performance status, and CPT mapping configuration.⌉[

Dashboard showing static site generation controls, exclusion settings, performance
status, and CPT mapping configuration.

[⌊Redirection Manager for creating and managing 301, 302, and 307 URL redirects 
with import/export functionality.⌉⌊Redirection Manager for creating and managing
301, 302, and 307 URL redirects with import/export functionality.⌉[

Redirection Manager for creating and managing 301, 302, and 307 URL redirects with
import/export functionality.

[⌊Cache Manager screen for clearing generated static HTML cache and regenerating
static files.⌉⌊Cache Manager screen for clearing generated static HTML cache and
regenerating static files.⌉[

Cache Manager screen for clearing generated static HTML cache and regenerating static
files.

[⌊Pages list displaying Static HTML generation status badges for each page.⌉⌊Pages
list displaying Static HTML generation status badges for each page.⌉[

Pages list displaying Static HTML generation status badges for each page.

[⌊Dashboard showing High Performance (.htaccess) mode enabled and active static 
file serving.⌉⌊Dashboard showing High Performance (.htaccess) mode enabled and active
static file serving.⌉[

Dashboard showing High Performance (.htaccess) mode enabled and active static file
serving.

[⌊Post/Page editor settings panel with the option to exclude individual content 
from Static HTML generation.⌉⌊Post/Page editor settings panel with the option to
exclude individual content from Static HTML generation.⌉[

Post/Page editor settings panel with the option to exclude individual content from
Static HTML generation.

[⌊Notification displayed when regeneration is attempted for content excluded from
Static HTML caching.⌉⌊Notification displayed when regeneration is attempted for 
content excluded from Static HTML caching.⌉[

Notification displayed when regeneration is attempted for content excluded from 
Static HTML caching.

[[

## Installation

 1. Upload the plugin folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to the ‘Moon Static HTML’ menu in your WordPress dashboard.

## FAQ

### Does this plugin work with e-commerce plugins like WooCommerce?

Yes! The plugin comes with built-in WooCommerce integration. It automatically detects
and excludes dynamic pages like the Cart, Checkout, and My Account from being cached.
It also intelligently overrides Store API nonces for shop pages, ensuring that AJAX
add-to-cart functionality works seamlessly even when the product listing is served
as a static HTML file.

### How does the High-Performance mode work?

When .htaccess rules are updated, Apache will serve the static index.html files 
directly without ever loading PHP or connecting to the database, resulting in near-
instant load times.

### Will my contact forms still work?

Yes, as long as your contact form plugin uses AJAX to submit data. If the form requires
a page reload to a PHP script, you should ensure that specific script or page is
not being cached.

### What happens when I update a post?

The plugin automatically detects the update and regenerates the static HTML for 
that specific post and the homepage to ensure your site stays up to date.

### Can I disable static HTML generation for a specific page or post?

Yes! When editing any post or page, look for the “Static HTML” meta box (usually
in the sidebar). Simply check the “Disable static HTML generation for this post”
option and save your changes.

### Is WordPress Multisite supported?

Yes! The plugin is fully multisite compatible. It automatically creates isolated
static HTML directories for each site in your network (e.g., `site-1`, `site-2`)
and generates site-specific .htaccess rules to ensure efficient serving across the
entire network.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Moon Static HTML Pages” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Moon Technolabs ](https://profiles.wordpress.org/moontechnolabs/)

[Translate “Moon Static HTML Pages” into your language.](https://translate.wordpress.org/projects/wp-plugins/moon-static-html-pages)

### Interested in development?

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

## Changelog

#### 1.0.1

 * Feature: Added Dynamic URLs configuration to easily bypass the cache for specific
   dynamic paths.
 * Feature: Added “Auto Generation on Save” for additional pages regeneration upon
   content updates.
 * Feature: Added dedicated Author pages static HTML generation with settings.
 * Feature: Added quick “Exclude” / “Remove Exclusion” toggle to post row actions.
 * Feature: Added quick “Regenerate Static HTML” single action and bulk actions.
 * Enhancement: “Static HTML” column is now sortable in the WordPress admin list
   tables.
 * Enhancement: Added quick filter views (All, Generated, Not Cached) with live 
   counts to list tables.
 * Enhancement: Process latest content first during generation.

#### 1.0.0

 * Initial release with modular OO structure and .htaccess support.

## Meta

 *  Version **1.0.1**
 *  Last updated **3 weeks ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/moon-static-html-pages/)
 * Tags
 * [cache](https://tuk.wordpress.org/plugins/tags/cache/)[html](https://tuk.wordpress.org/plugins/tags/html/)
   [optimization](https://tuk.wordpress.org/plugins/tags/optimization/)[performance](https://tuk.wordpress.org/plugins/tags/performance/)
   [speed](https://tuk.wordpress.org/plugins/tags/speed/)
 *  [Advanced View](https://tuk.wordpress.org/plugins/moon-static-html-pages/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/moon-static-html-pages/reviews/)

## Contributors

 *   [ Moon Technolabs ](https://profiles.wordpress.org/moontechnolabs/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/moon-static-html-pages/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.moontechnolabs.com/)