# Run a site without WordPress

> Host plain HTML or a PHP app on a blank environment. WP Waterfall finds out whether WordPress is there and hides or shows the WordPress tools to match.

Source: https://docs.wpwaterfall.com/run-a-site-without-wordpress

A blank environment is an empty web root for HTML or a PHP application. Choose **Empty Environment** when you add a site, then add your files with SFTP, or push them with Git.

Its Git repository starts with one empty commit, named "Empty environment", on the default branch. So you can launch live, deploy, make previews, back up, and restore code before you add a single file.

## What works without WordPress

Everything that is not about WordPress works as on any site:

- Staging, live, previews, and promote to live
- Git, SFTP, SSH, and the file manager (browse, edit, rename, delete, and download)
- The database: phpMyAdmin, the database browser, SQL, import, and export
- Backups and restores
- Domains, SSL, DNS, and redirects
- PHP version, PHP settings, and Restart PHP
- Logs, analytics, the CDN, the edge cache, and IP deny
- Environment variables, password protection, and the page cache
- Monitor: the uptime checks, and the performance reports of transactions, the database, and outside calls

The server page cache follows your application's own headers. A response that sets a cookie, or that says `Cache-Control: private`, `no-cache`, or `no-store`, is never cached. A page that shows something different to each visitor, such as an account page, should send one of those. PHP sessions send `no-store` by themselves. Plain HTML files are served straight from disk.

## What is hidden without WordPress

These need WordPress, so they do not show:

- **Plugins and Themes**, automatic updates, and Safe Updates
- WordPress users, **Log in to WP Admin**, and **Visit WP login**
- WP-CLI and search and replace
- **WordPress debugging**, **Server cron**, **XML-RPC**, and **Cron jobs** (every cron job is a WP-CLI command)
- The integrity check, the network tools of WordPress Multisite, the autoloaded options card, and the WordPress view of the performance reports in Monitor

The API answers these with `409` and the code `wordpress_not_installed`, and the MCP tools say the same in one sentence.

When you copy content between environments or promote, WP Waterfall copies your database as it is. It only rewrites addresses inside a WordPress database.

## How WP Waterfall knows

WordPress counts as installed when your web root (or its `wp` or `wordpress` folder) holds `wp-load.php` and `wp-includes/version.php`, and WordPress says its install is done. If you set a custom web root, WP Waterfall looks there. The check reads files and runs no code of your site as an administrator.

The answer is fresh after each deploy, promote, Git push, restore, import, copy between environments, and file manager change. WP Waterfall also checks every 10 minutes while WordPress is not installed, so an upload by SFTP shows up on its own, and once a day otherwise. When you open the site and the answer is older than 5 minutes, the dashboard checks again in the background.

The **Environment details** card on **Info** says **No WordPress**, or the WordPress version. To check right away, choose **Check again for WordPress** beside it. If WP Waterfall cannot tell, for example because the database did not answer, it keeps every WordPress tool on.

## Add WordPress later

Upload WordPress and run its install, or promote an environment that has WordPress. The WordPress tools come back with the next check, without a reload.

## API

- `GET /v1/environments/{id}/wordpress` returns `wordpress` (`installed`, `not_installed`, or `unknown`), `version`, `multisite`, and `checked_at`. It checks again first when the answer is older than 5 minutes.
- `POST /v1/environments/{id}/wordpress/check` checks now.
- Every environment in `GET /v1/sites/{id}/environments` has `wordpress`, `wordpress_version`, and `wordpress_multisite`.

## Related

- [Create a site](https://docs.wpwaterfall.com/create-a-site)
- [Files manager](https://docs.wpwaterfall.com/files-manager)
- [SSH and SFTP](https://docs.wpwaterfall.com/ssh-and-sftp)
- [Plugins](https://docs.wpwaterfall.com/plugins)
