SiteFlush

Description

Flush WordPress site to a fresh, clean slate with a single click. This is perfect for:

  • Development and testing environments
  • Cleaning up after experiments
  • Starting fresh without manual database manipulation
  • Learning WordPress without creating new installations

What Gets Removed

When you run SiteFlush, the following happens:

  • Database: All WordPress tables are dropped and recreated
  • Plugins: All plugins are deactivated and deleted (except SiteFlush)
  • Themes: All non-default themes are deleted
  • Uploads: All files in wp-content/uploads are deleted
  • Settings: Site options are reset to defaults

What Stays Safe

  • wp-config.php (database credentials remain intact)
  • .htaccess (server configuration unchanged)
  • SiteFlush plugin itself
  • WordPress core files
  • Default WordPress themes (Twenty Twenty-series)

Important Warnings

⚠️ This action is DESTRUCTIVE and IRREVERSIBLE

  • There is NO undo
  • There is NO backup (in the free version)
  • ALL your content will be permanently deleted
  • Use only on development/testing sites

Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • Single-site installation only (multisite not supported)
  • manage_options capability (administrator role)

Screenshots

  • The main SiteFlush admin page with warning panel and environment information
  • Flush Confirmation dialog box
  • Flush in progress with progress bar first part
  • Flush in progress with progress bar finished

Installation

  1. Upload the siteflush folder to /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to Tools SiteFlush to access the siteflush page

Usage

  1. Go to SiteFlush in your WordPress admin
  2. Review the warning and environment information
  3. Type SITEFLUSH (all caps, exactly) in the confirmation field
  4. Click the “Flush WordPress” button
  5. Confirm the final warning dialog
  6. Wait for the flush to complete
  7. It will log you in automatically

FAQ

Is this safe to use on a production site?

NO. This plugin is designed for development and testing environments only. It will permanently delete all your content with no way to recover it.

Can I undo the operation?

No. The free version of SiteFlush does not include backup or restore functionality. Once you SITEFLUSH, everything is gone permanently.

Will my admin account be deleted?

NO. Admin account won’t be deleted (The one created during WordPress install). All other users will be deleted.

Does this work on multisite?

No. SiteFlush only works on single-site WordPress installations.

What happens to my custom database tables?

Only tables with the WordPress prefix (default: wp_) are dropped. Custom tables with different prefixes will remain.

Can I keep specific plugins or themes?

Not in the free version. All plugins (except SiteFlush) and all non-default themes are deleted.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SiteFlush” is open source software. The following people have contributed to this plugin.

Contributors

Translate “SiteFlush” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0 – 2026-03-09

Initial release

  • Initial release of SiteFlush (Free Version)
  • Complete WordPress site SiteFlush functionality
  • Database table dropping and reinstallation
  • Plugin deactivation and deletion (except self)
  • Theme switching and cleanup
  • Uploads directory clearing
  • Admin interface as separate menu
  • Warning panel with clear destructive action notice
  • Environment information display (URL, WP version, PHP version)
  • Friction using double confirmation, by typing SITEFLUSH box and popup confirmation
  • Progress bar for the SITEFLUSH action