# Sites list and bulk actions

> Find every site in your company with its environments, read each one's figures and waiting updates, filter, sort, and run one action across many at once.

Source: https://docs.wpwaterfall.com/sites-list

The Sites list shows every site in your company, with its environments under it, and lets you act on one environment, or on many at once, without opening each site.

## Open it

1. Sign in to the dashboard.
2. Choose **Sites** in the sidebar.

Each site is a group. The site's name is a heading row, with its labels and the three dot menu. Under it, one row for each environment: **Live** first, then **Staging**, then each preview environment by name. Each environment row has its own checkbox, a colored dot with the environment's name, and its own figures. A dot is green while the environment is healthy. When an environment is asleep, waking up, being set up, failed, degraded, or down, the row says so in one word beside the name. WP Waterfall removes a new site or environment whose setup fails, so it leaves the list by itself, and the bell says so.

Select anywhere on a row, or anywhere on a card, to open that environment's site page. The three dot menu, the checkbox, the arrow, and the **Updates** link do their own work. To open a site in a new tab, use the middle mouse button or Ctrl-click (Command-click on a Mac) on the row.

The arrow at the left of a site's name shows or hides its environments. A page with 10 sites or fewer opens every site. A longer page starts closed, and a closed site shows the figures of its main environment (live once it runs, otherwise staging) on its own row, with that environment's name beside it. **Expand all** and **Collapse all** change every site at once. The dashboard remembers what you opened and closed, in this browser, for your account.

The columns are **Visits**, **Server bandwidth**, **Disk usage**, **PHP**, **Updates**, **Location**, **WP version**, and **Labels**. A narrow window shows fewer of them, so the list never scrolls sideways. [Choose and arrange the columns](#choose-and-arrange-the-columns) you want to see. On a phone, and in **Grid view**, each site is a card, with its environments listed under it.

- **Visits** and **Server bandwidth** count this billing period for that environment alone, from the same numbers as plan usage. A dash means nothing has been measured yet.
- **Updates** reads like "25 Plugins, 3 Themes". When updates are waiting, a warning sign and the number of updates follow it. Hover over it for the split and the age: "22 updates available: 20 plugins, 2 themes. Checked 3 hours ago." It is plain text, not a link: open the environment and choose **Plugins and Themes** to act on them. See [Updates on the list](#updates-on-the-list).
- **Location** shows the data center. The server name is on the site's own **Site information** page.
- While a site is created, its row shows grey bars until it is ready.

## Your first site

With no sites yet, the Sites list shows **Create your first WordPress site** instead of the table. **Create site** opens the create form. Without a subscription, people who can buy see **Buy a plan** first. **Open chat** opens a chat with our team. Below it are what every site gets and links to the help center. People whose role cannot add sites see a short message instead.

Use the list and grid buttons at the right of the toolbar to switch views. The dashboard remembers your choice in this browser. **Refresh** reloads the list.

## Find a site

Type in the search box to search by name. Use **All labels** and **All sites** to filter by label or by status (Live, Staging only, Setting up, or Needs attention). **Filters** holds the location and PHP version filters. **Columns** chooses and orders the columns. Select a column heading to sort the sites on the page. A site sorts by its main environment, the one its row shows when it is closed, so the order always matches the figures you see.

Through the API you can also filter by server. See [Site labels](https://docs.wpwaterfall.com/site-labels) for how labels are made.

## Choose and arrange the columns

Hide the columns you never read, such as **Location** or **Labels**, and drag the ones you read most to the front.

1. Choose **Columns** next to the filters.
2. Tick a column to show it. Clear the box to hide it.

The list changes at once, for every site and every environment row. **Name** is always shown, because it is the link to the site. A hidden column keeps its place in the order, so it comes back where it was.

You can move a column in two places. In the table, press a column heading, hold, and drag it sideways. A blue line shows where the column will land. A click or a tap on a heading still sorts the list. On a touch screen, hold your finger on the heading for a moment, then drag. In the **Columns** list, drag the handle at the left of a column up or down.

To move a column with the keyboard, go to its handle in the **Columns** list (its name is "Drag to reorder" and the column), press **Space** to pick it up, press **Up** or **Down** to move it, and press **Space** to drop it or **Escape** to cancel. A screen reader says where the column is at each step.

**Name** is always first, and no column can go in front of it. **Labels** are written under the name of a site, not in a column of their own, so they have a check box and no handle. Choose **Reset to default** to show every column again in the default order. The button is grey while every column is already shown in its default place.

The dashboard remembers your choice, the order included, in this browser, for your account. Another person on the same computer keeps their own choice. A different browser or computer starts with every column shown, because the choice is not stored on our servers.

The list never scrolls sideways, so a narrow window shows fewer columns than a wide one. **Visits** and **Server bandwidth** always show. **Disk usage**, **PHP**, and **Labels** need a wider window, then **Updates**, then **WP version**, then **Location**. Your choice can hide more, and it never adds a column the window has no room for. In the **Columns** list, a column that needs a wider window says so beside its name. On a phone, and in **Grid view**, each site is a card with no columns, so **Columns** is not shown.

## Updates on the list

WP Waterfall reads the plugin and theme lists of each environment for you, so the list needs no click. It reads a running environment again every 6 hours on live and every day on staging and previews, soon after you change a plugin or theme, and whenever the **Plugins and Themes** page reads the lists from the site (after a change, or when you refresh it there). The list itself never starts anything on your site.

- An environment that has not been read yet shows a dash that says **Not checked yet**. It is read within a few minutes of coming up.
- A sleeping staging or preview environment keeps its last counts, and the tooltip says how old they are. WP Waterfall never wakes an environment only to count its plugins.
- An environment without WordPress shows a dash that says so.

## Act on one site or environment

Use the three dot menu at the end of a row (or at the top of a card) to:

- Open the site, on that environment.
- Visit the site in a new tab.
- Clear the server cache.
- Restart PHP.

On a site's own row the menu acts on its main environment. On an environment row it acts on that environment. If your role cannot run tools, or the environment is not running, the entries are grey and say why.

Clearing the cache and restarting PHP each run as a job, and the dashboard shows the progress. See [Jobs and progress](https://docs.wpwaterfall.com/jobs-and-progress).

## Act on many environments

1. Tick the rows you want. The box in a site's row ticks all of its environments, and shows a dash while only some are ticked. The box in the header ticks every environment on the page.
2. Choose the action: clear the server cache, change the PHP version, or add and remove labels.
3. Confirm.

The bar shows how many environments you ticked. WP Waterfall runs the change as one job group with one child job per environment, and shows how many are done. Each environment gets its own result, so one failure does not stop the others.

## Add a site

**Add site** opens the create form. Pick a name, a starting point, a data center location, and a PHP version. Creating a site starts a provisioning job and opens the job details on its own.

Real sites need a subscription, and each uses one site license. When you have a subscription, the header shows how many sites you have of the site licenses your subscriptions give, such as **2 / 5 sites**, over a thin bar that changes color when every site license is in use. Then change to a larger plan or buy another one.

## Quick answers

**Why does the API return 402 when I create a site?**
Your company has no subscription, or every site license is in use.

**Does sorting apply to the whole company?**
Sorting applies to the sites on the current page.

**Why does Updates show "Not checked yet"?**
WP Waterfall has not read that environment's plugins and themes yet. New environments are read within a few minutes. A sleeping environment is read after it wakes on its own.

**Why is there no server name column, as in Kinsta?**
The list shows the location, the data center your site runs in. The server name of each environment is on the site's own **Site information** page.

**Where do I see how a bulk action went?**
Open **Jobs** in the top bar. The job group shows one progress bar and a result for each site.

## API

- `GET /v1/sites` (each site carries `environments`, and each environment carries `updates` once read)
- `POST /v1/sites`
- `POST /v1/environments/{id}/plugins/refresh` and `POST /v1/environments/{id}/themes/refresh` (read the lists now)
- `GET /v1/companies/me/analytics/usage` (Visits and Server bandwidth)
- `GET /v1/billing/subscriptions` (the sites bar)
- `GET /v1/saved-views`
- `POST /v1/saved-views`
- `PATCH /v1/saved-views/{id}`
- `DELETE /v1/saved-views/{id}`
- `POST /v1/bulk`
- `GET /v1/job-groups/{id}`
- `POST /v1/environments/{id}/tools/cache/clear`
- `POST /v1/environments/{id}/tools/php/restart`

## Related

- [Plugins](https://docs.wpwaterfall.com/plugins)
- [Site information](https://docs.wpwaterfall.com/site-info)
- [Site labels](https://docs.wpwaterfall.com/site-labels)
- [Jobs and progress](https://docs.wpwaterfall.com/jobs-and-progress)
- [Search menu](https://docs.wpwaterfall.com/search-menu)
