# WordPress

> Install WordPress, then manage each site in WordPress Studio: safe and scheduled updates, plugins and themes, staging, the security center, performance, the fleet view, client reports, tools, users and settings.

## Install WordPress

Install WordPress from a server's **Sites → One-click apps → WordPress**, or from the **WordPress** page with **New WordPress site** (choose the server, the domain and HTTPS). Zefily creates a PHP site on the newest installed PHP, a MariaDB database (installing MariaDB first if needed), installs the latest WordPress in the **language** you pick in the form and requests the certificate. The language list is the same in both forms (about 30 languages, each shown in its own name). It starts at the language matching your panel: Türkçe when the panel is in Turkish, English otherwise. Pick another language for a client, whatever the panel's language. The site is installed in that language: WordPress sets it during the install, from the language pack that the install downloads with WordPress. **Show admin login** in the site row reveals the generated admin user and password.

You can also install WordPress on an existing empty PHP site with **Install WordPress** on its General pane (site title, admin user, admin email, language).

**Blueprints**, at the bottom of the WordPress page, are sets of wordpress.org plugins and a theme (by their slugs, e.g. `woocommerce wordpress-seo` and `storefront`). Choose one in **New WordPress site** and they are installed and activated right after WordPress. A plugin that cannot be installed is reported; the site still works.

## The WordPress page

**WordPress** in the main menu lists every WordPress site of your organization, on all servers, with its WordPress version, plugin and theme updates, when it was last checked and last updated. The fleet view below adds filters, labels, health scores and bulk actions to this list.

Studio shows the time of its last check (**Updated …**) and refreshes it by itself: when you open a Studio page the data is more than a minute old, after a plugin, theme or update job finished, and every ten minutes when a plugin folder, theme folder or the active plugins changed outside the panel (installed from wp-admin, updated automatically or uploaded over FTP). **Refresh** asks for a check now.

Zefily checks every WordPress site by itself, right after WordPress is installed and then once a day, so the page and the security checks below also cover sites nobody opened. Each row shows how many plugins and themes the site has installed, with the number of updates waiting for them. A site that has not been checked yet says "Not checked yet" instead of a number, with **Check now** to read it at once.

Click a site's domain to open its **WordPress Studio** on a page of its own. **All WordPress sites** at the top takes you back to this list, and the server's name opens the site on its server's page. The search (Ctrl K), the results of a bulk run, the weekly update and monthly maintenance emails, and **Open WordPress Studio** next to WordPress on the site's General pane open the same page. The Studio's overview shows the WordPress version and the number of installed plugins and themes; until the first check has run, its update and vulnerability cards say "Not checked yet" and offer **Check now**.

- **Check all for updates** (or check selected sites).
- **Select sites with updates**, then **Update N sites**.

Every update **takes a snapshot first** and restores the site automatically if it stops answering, shows a critical error, or fails the structural check described under Updates.

Each site's core, plugins and themes are also checked against the WPVulnerability database (CVE, WPScan, Wordfence and Patchstack sources) from the versions of the last check: a red badge counts the known vulnerabilities, and the details give the severity, the advisory and the version that fixes it. A record that is actively exploited in the wild, or in CISA's Known Exploited Vulnerabilities catalog, is marked **Exploited** and listed first. Only plugin and theme names and versions are sent.

When WordPress publishes a security release (WordPress News, Security category), every site on an older core shows a red **Security release X.Y.Z available** badge next to its version. WordPress can apply minor releases on its own, but a site that has not yet been updated is flagged here: update its core from this page (the update takes a snapshot first).

Click a site to open its **WordPress Studio**. It has these tabs.

| Tab | What it is for |
| --- | --- |
| Overview | The state of the site at a glance: updates, known vulnerabilities, automatic updates, the last safe update, staging copies, caching, Core Web Vitals and file integrity. It also disables the site (it stops answering visitors, after a reason) and enables it again. Log in to wp-admin from here |
| Updates | Core, plugin and theme updates, the safe update, the automatic update policy and its run history |
| Plugins & themes | Activate, deactivate, install, update, auto-update and remove plugins and themes |
| Staging | Staging copies, their refresh schedule and password, the preview of a push or pull, and copying files and the database between the live site and a copy |
| Security | The security center: known vulnerabilities, file integrity with a clean reinstall, malware indicators, administrators and the hardening rules |
| Performance | Cache insights, WebP and AVIF images, Core Web Vitals, autoloaded options, the optimize button and database cleanup |
| Tools | Search and replace, WP-Cron, file permissions, the debug log, timed debug and moving the site to another server |
| Users | The site's WordPress accounts |
| Settings | Debug and maintenance switches, wp-config.php constants and multisite |

**Move to another server** is at the bottom of the Tools tab. It works like the site page's move, in two steps: **copy** the site's files and database to the server you choose while it keeps serving here, then **switch** when the copy is ready. The move works for every site type, and a move in progress shows at the top of the Studio until you switch or cancel it. The Staging tab is for test copies, not for moving the site.

## How risky changes are confirmed

Each change in the Studio has a risk level, shown with its confirmation. The level sets what happens before the change runs. The levels follow the risk table of the WordPress Studio decisions.

| Level | Changes | What happens |
| --- | --- | --- |
| Low | The file integrity check, reading the debug log and reading the site's WordPress details and cache insights | Nothing on the site changes |
| Medium | Plugin and theme changes and updates (also the scheduled ones), the safe update, database cleanup, file permissions, the WP-Cron interval, the security filters and other Tools and Settings changes, creating a staging copy, search and replace on a staging copy, copying between a site and its staging copy, image conversion, and the staging refresh | Where the confirmation says **A snapshot is taken first**, a snapshot is taken and the site is restored if it stops answering. Otherwise you review what will change first |
| High | Search and replace on a live site, the clean reinstall (integrity repair), and copying into a live site | The job waits for your **passkey** before it runs |

A confirmation lists what will change. Some actions ask you to type the site's domain before they run: removing a plugin or theme, file permissions, the clean reinstall, and search and replace on a live site. Dry runs (previews) never need a passkey.

## Updates

The **Updates** tab shows core, plugin and theme updates waiting for the site, with the version each one moves to. **Run safe update** takes a snapshot, applies the updates and checks the site afterwards. The tab also shows the result of the last safe update.

When nothing is waiting, the tab says so; press **Check again** to look for new releases.

**Core security releases.** When WordPress publishes a security release, every site whose core is older than it gets a red **Core security update** badge on the WordPress page and in the site's row. The server of each such site gets a notice in the panel, and an e-mail unless your organization has switched security e-mails off (Settings, Notifications). The notice names the sites, and it is sent once per server and release; a site already on the release is never named. Update the core with the same **Update** step as above: it takes a snapshot first and restores the site if the site breaks.

**Check paths** are the pages the check looks at: up to 10 site paths, starting with `/` (the home page) by default. Each path is requested on the server itself, before and after the update.

**Structural check.** The check does not use a browser and takes no screenshots. For each path it compares, before and after the update:

- the HTTP status and the page title,
- a PHP fatal error or WordPress' critical error page,
- the outline of the page's HTML (element names and id and class names, no text),
- the stylesheets and scripts the page loads from the same site, and whether any of them now fails,
- the size of the page (a change of more than 40 percent is flagged),
- the same page as a phone browser sees it (its status, a PHP error and its outline): a site that breaks only on phones is caught too. It is a server-side request with a phone user agent, not a rendered screen.

Each path gets a verdict. **Failed** means the page stops answering, answers with a server error, shows a PHP error, or goes from a success to a client error. **Review** means something else changed (for example the layout or the title). **Passed** means nothing did.

**When a checked page changes** sets what happens to a site that gets a **Review** verdict:

- **Keep the update and review**: the update stays and the result is flagged for review.
- **Restore the snapshot**: any failing check rolls the site back to the snapshot taken before the update.

A **Failed** verdict always restores the snapshot.

**One plugin at a time** updates each plugin on its own and checks the site after each one. A plugin that breaks a page goes back to its old version.

**Staging first** (policies only, see below) updates the staging copy first. The live site is updated only if the copy passes.

### Automatic updates

The **Updates** tab has an **Automatic updates** card. It runs updates on the schedule you choose, without anyone pressing a button.

- **Enabled**: switch the policy on or off. A policy you turn off keeps its run history.
- **What to update**: **Security only** (only updates that fix a known vulnerability), **Minor and security** (patch and minor releases of core, and the same major version of plugins and themes, plus security fixes), or **Everything** (every available update, major releases included).
- **Days** and **Hour (UTC)**: the policy runs on the chosen days. Choose **Window ends at** to run in a window (for example 02:00 to 05:00 UTC): it starts on the first tick inside the window and runs once per window; a window that ends before it starts runs over midnight. Without an end, it runs in the single hour you chose. The page shows your local time next to it. A schedule runs at most once a day. If a job for the site is still running at that hour, the policy starts as soon as the site is free, within the same hour.
- **Hold back**: plugin slugs that are never updated by the policy. Tick **WordPress core** to hold back WordPress itself.
- **Staging first**: needs a staging copy of the site (see Staging). The copy is updated first and the live site only if the copy passes.
- **When a checked page changes** and **One plugin at a time**: the same settings as in a safe update.

The policy works from the site's last check, so a site that has not been checked yet waits for it.

A scheduled update takes a snapshot first and runs the same structural check. Each run is recorded in **Policy runs** with one outcome:

| Outcome | Meaning |
| --- | --- |
| Updated | The updates were applied and every check passed |
| Nothing to do | No update was waiting, or none the policy takes |
| Held back | The policy did not take an update (the mode, the hold-back list, or, with staging first, the copy did not have it) |
| Needs review | The updates stayed, and a check needs a look |
| Restored | The check failed or the site stopped answering, and the snapshot came back |
| Failed | The update job itself failed |

Scheduled updates are medium risk, so they run without a passkey. You can see each run in the history and in the weekly report (see Client reports).

## The site's WordPress pane

The **Backups** tab of the Studio is the site's backup pane, the same one as the server's Sites tab: its snapshots, **Back up now**, restores (the whole site, the database, wp-content only, one plugin) and restore to a staging copy. The overview shows when the site was last backed up, with a link to that tab.

On the server's page, a WordPress site's **WordPress** pane shows a short summary from the last check (WordPress version, plugins, themes and updates waiting) with **Open WordPress Studio** and **Log in as admin**. Everything else is in WordPress Studio, which has a page of its own; an old link into the server page's WordPress pane opens the Studio. On a narrow screen the Studio's areas are in a list at the top. The Studio keeps these tools.

| Tool | What it does |
| --- | --- |
| Check updates / Update | The same safe update for this site (snapshot + automatic restore) |
| Log in as admin | A one-time login link to wp-admin, without sharing passwords |
| Clone to a staging site | Copies files and the database into a new site with its own user and database on the domain you choose; search engines are discouraged on the copy. The site list marks it **Staging of …**; your plan sets how many staging copies you can keep. Pick another **Server** of your organization to put the copy there: the files and the database travel through encrypted relays, as in a site move. The other server needs a current agent and MariaDB, and the table list must be opened once first so the copy knows the table prefix |
| Security filters | See Security below |

## Plugins & themes

**Save as blueprint** above the list saves the site's active plugins and its active theme as a panel blueprint, for new sites. It copies the names only: not the settings, the files or the content.

The **Plugins & themes** tab shows the installed plugins or themes from the last daily check at once, and reads the current list from the site by itself when you open it (**Refresh** reads it again). The counts appear once the list is known. Each row shows the version, whether it is active, whether an update is waiting, whether it is known to be vulnerable, and whether auto-update is on. A plugin that wordpress.org has not updated for two years is marked **Not updated since** its last update date; the date comes from the official Plugin Directory, and a plugin the directory does not list (or whose date it does not give) is not marked.

- **Filters**: All, Active, Inactive, Updates and Vulnerable. Search by name narrows the list further.
- **Bulk actions**: select several rows, then activate, deactivate, update or remove them together.
- **Activate**, **Deactivate**, **Update** and **Remove** for one row, from its actions menu.
- **Install from wordpress.org**: type one or more plugin or theme slugs (for example `contact-form-7`). The plugin or theme is installed from wordpress.org.
- **Auto-update**: a switch per plugin or theme. It turns WordPress' own automatic updates for that item on or off. A switch is a setting, so it takes no snapshot.

A plugin that WordPress.org has not updated for two years is marked with its last update date, so you can see that it may be abandoned. Plugins the directory does not list (for example one uploaded from a file) are not marked.

Other changes run after a snapshot is taken, and the site is restored if it stops answering. Removing a plugin or theme deletes its files, so the confirmation asks you to type the site's domain.

## Staging

The **Staging** tab lists the staging copies of the site (made with **Clone to a staging site**), and shows whether this site is the live site or a copy. Your plan sets how many copies you can keep.

### Protected staging

A new copy is **password-protected** by default (switch **Password-protect the copy** off to skip it). Visitors then sign in with a generated login before they see the copy: the user is `staging`, and the password is 24 random characters.

The password is **shown only once**, on the Staging tab, to the person who created the copy. Zefily keeps it encrypted for 15 minutes and does not show it again after you leave the page, so copy it then. If you lose it, set a new login for the copy in the site's **Access** pane.

By default outgoing mail is **switched off** on the copy, so it cannot email your customers. Turn **Switch outgoing mail off** off only if the copy should send real mail; the confirmation says which one you chose.

### DNS for a copy

A copy gets its own domain, and the copy is reached only when that domain points at its server. When one of your connected DNS accounts (Settings → DNS providers) holds the domain's zone, Zefily creates the A record (and the AAAA record when the server has IPv6) for the copy's domain at that provider, pointing at the server the copy runs on. This works for a copy on the same server and for a copy on another server. Records that already exist are left alone. The copy's HTTPS certificate waits until the name resolves.

Without such an account, nothing is written at any DNS provider. Create the A record (and AAAA) for the copy's domain yourself, pointing at the public address of the server the copy runs on. When the copy is deleted, the records Zefily created for it are removed too, and a record that you have changed since is left alone.

### Addresses after a move or a domain change

A WordPress site keeps its address in its settings and in its pages and posts. When the site moves to another server, or its domain changes, Zefily points all of them at the site's real domain: the address WordPress uses (siteurl and home) and every link in the content, in both http and https forms. The temporary address of an import is replaced the same way when the import goes live. This runs as a database job with a snapshot: if the site stops answering afterwards, the database is restored and the site stays as it was.

### Staging refresh

A copy can be refreshed from the live site on a schedule. Open the copy's **Refresh schedule** and choose:

- **How often**: **Daily**, or **Weekly** on one **Day**.
- **Hour (UTC)**: the hour of the refresh. The page shows your local time.

A refresh replaces the copy's `wp-content` folder and all its tables with a fresh copy of the live site, so changes made on the copy since the last refresh are overwritten. The copy's `wp-config.php` and `.htaccess` stay. The refresh is skipped while a job for the copy is still running. **Remove schedule** stops the refreshes; the copy's data stays as it is.

### Push and pull

A site and its staging copy can exchange changes. Choose **Push this site to** or **Pull into this site from**, then:

- **Files**: none, `wp-content`, all files, or selected folders (`themes`, `plugins`, `uploads`, `mu-plugins`, `languages`). The target's `wp-config.php` and `.htaccess` stay, and caches are skipped.
- **Database**: none, all tables, or selected tables (posts, terms, comments, options, users…). The table list groups the tables into core, WooCommerce and plugins; **Plugin tables only** selects the plugins' own tables in one step. Tables are renamed to the target's prefix and URLs are rewritten to the target's address.

**Preview changes** is the staging preview. It runs a dry run that changes nothing and lists the new, changed and deleted files and the tables with their row counts, so you see what the copy would change before you press the real copy. The last preview stays on the page until you run it again.

The target is backed up first (database and files) and restored automatically if it stops answering afterwards. Copying into the live site keeps its search engine setting; copying into staging hides staging from search engines. Copying into the live site needs your passkey. When the live site has new orders or users since the copy, leave those tables out, or use **WooCommerce-safe**: orders, customers, sessions and the action queue are then never overwritten. It is recommended when the target is the live site.

## Security

The **Security** tab is the security center. It has these parts.

The file check (checksums of core and plugin files) runs by itself once a day for each WordPress site. For a changed core file, **Show diff** shows the lines that differ from the same WordPress version's clean release (read only), and **Restore file** puts that one file back from the release. A restore asks for your passkey, takes a snapshot first, checks the site afterwards and rolls back if it stops answering. Only core files can be restored this way; plugin and theme files are restored by reinstalling the plugin.

**Known vulnerabilities** lists the problems the last check found in the site's WordPress core, plugins and themes, with the fixed version when there is one. Run a check on the Updates tab to refresh the list.

**File integrity** compares the core files and the files of wordpress.org plugins with their published checksums. **Check integrity now** runs the check. It only reads the files and changes nothing. The result lists the files that were changed, added or are missing.

**Clean reinstall** repairs what the integrity check found, with two buttons:

- **Reinstall WordPress core** puts the WordPress core files back from the official copy. `wp-content` (your themes, plugins and uploads) stays.
- **Reinstall changed plugins** reinstalls each changed plugin at the version it has now, from wordpress.org.

A clean reinstall overwrites code on the site, so it is a high-risk change: the job waits for your passkey, and you type the site's domain to confirm. Use it when you expect the site's files were changed by someone else, and check the integrity result first.

**Malware indicators** appear when you turn on **Deep scan** and run the integrity check. The scan looks for PHP files in uploads, obfuscated code, unknown must-use plugins, cron hooks without code, new administrators, and request-driven code execution. Each finding has a kind, a path, a detail and a severity. Nothing is changed automatically: review each finding.

**Administrators** lists the administrator accounts with their last sign-in, and whether a two-factor plugin is active. They are read from the site when you open the tab and the last read is older than ten minutes; **Refresh** reads them again.

### Hardening rules

The hardening score (0 to 100) adds up the weights of the filters that are on; all thirteen rules together score 100. **Apply recommended** turns on the recommended filters that are not on yet (the PHP-execution blocks in `wp-includes` and `wp-content`, and the security headers, on top of the four a new site starts with) and keeps the ones already on. It is refused when they are all on already. Left out on purpose: XML-RPC and the REST user list (plugins use them), login limits (they need CrowdSec), file-mod blocks (no updates from wp-admin), RSS off and bad-bot blocking (they change what visitors get). The change is reversible: **Undo the last recommended change** puts back the filters from before it, as long as you have not changed the filters by hand since. Both are audited.

**Hardening** switches each rule of the site on or off. Each switch asks for confirmation first, and the site's web server configuration is applied again at once. The rules are grouped as **Access**, **Files**, **Headers** and **Login and bots**.

| Rule | Effect |
| --- | --- |
| Block XML-RPC | Refuses `xmlrpc.php`, which is used for remote publishing and password guessing. Some plugins use it, so check before you turn it on |
| Hide the user list | Refuses anonymous REST API requests for the list of user names (`/wp-json/wp/v2/users`) |
| Block author scans | Refuses `?author=N` requests, which reveal user names from their numbers |
| No PHP in uploads | Blocks running PHP, phtml and phar files from `wp-content/uploads`, a common backdoor |
| Protect config and readme files | Refuses direct requests for `wp-config.php`, `wp-config-sample.php`, `readme.html` and `license.txt` |
| No PHP in wp-includes | Refuses direct requests to PHP files in `wp-includes`, which WordPress loads itself (two WordPress files stay reachable) |
| No PHP in wp-content | Refuses PHP files in `wp-content` outside plugins and themes, such as uploads and cache |
| Disable the file editor | Turns off the theme and plugin editor in wp-admin (`DISALLOW_FILE_EDIT` in wp-config.php) |
| Disable installs and updates from the dashboard | Sets `DISALLOW_FILE_MODS`: WordPress cannot install, update or delete plugins and themes from its own dashboard. Check your update flow before you turn it on |
| Security headers | Sends four response headers that the site does not already set: `X-Content-Type-Options`, `Referrer-Policy`, `X-Frame-Options` and `Permissions-Policy` (camera, microphone and location off) |
| Turn off RSS feeds | Refuses the feed addresses, which expose post and author details to scrapers |
| Limit login attempts | Blocks addresses that repeatedly fail to sign in, through CrowdSec (see below) |
| Block known bad bots | Refuses the user agents of common scanners and attack tools, such as sqlmap, Nikto, WPScan, Nuclei and Nmap |

**New installs start with four rules on**: No PHP in uploads, Protect config and readme files, Block author scans and Disable the file editor. The other rules are off until you turn them on.

**Limit login attempts** works the same on nginx and on OpenLiteSpeed. It is not a web server rule: CrowdSec reads each site's access log, counts the failed sign-ins on `wp-login.php` from one address, and when an address fails repeatedly the server's firewall blocks it. The ban applies to every site on that server, not only the site where the attempts happened. The rule needs CrowdSec running on the server with its WordPress collection installed. The rule shows its status:

| Status | What to do |
| --- | --- |
| Active | Nothing |
| CrowdSec is not running on this server | Start CrowdSec on the server, then save the rule again |
| The CrowdSec collection for login protection is missing | Install the collection on the server, then save the rule again |

The health score (see Fleet view) counts four rules as complete: Block XML-RPC, No PHP in uploads, Disable the file editor and Protect config and readme files.

## Performance

While an update runs, or a push or pull writes to a site, the site shows WordPress' maintenance page, and it is lifted when the change ends, whether it succeeded or failed. A site that was already in maintenance mode stays in it.

The object cache of a site can be emptied from its Performance tab (**Empty the object cache**). It changes no data.

The **Performance** tab has these parts.

**Cache** shows whether the page cache and the object cache are on, with their time to live. Turn the page cache on with **Enable page cache** on this tab; on OpenLiteSpeed the page cache is the **LiteSpeed Cache (page cache)** switch below instead, and Zefily's own page cache stays off for WordPress there. Once it is on, the lifetime, **Purge** and the paths to exclude are here too. See [Access, caching and protection](/docs/access-and-caching). Logged-in users, carts and checkouts bypass the page cache.

**New WordPress sites and imports start with a performance profile.** Zefily turns on the page cache for visitors who are not signed in (300 seconds), the object cache where the server has one (Valkey), WP-Cron on a 5-minute system timer, and the Heartbeat limits that **Optimize** applies. You can change the page cache, the object cache and WP-Cron on this tab afterwards, and turn each one off. The Heartbeat limits stay as Optimize sets them. An import of a WooCommerce store keeps its cart, checkout and account pages out of the cache. WebP and AVIF images are not switched on by default.

**Cache insights** shows what the cache did in the last 24 hours: for the page cache, the share of hits, expired, stale, missed and bypassed requests; for the object cache, its hit ratio. Server-wide counters (hits and misses, memory, OPcache) are shown too, and they cover every site on the server, not only this one. They are read when you open the tab and the last read is older than ten minutes; **Refresh insights** reads them again.

**Images** writes a WebP and, where the server supports it, an AVIF copy next to each JPEG and PNG upload. The originals are never changed.

- **Convert images now** creates the copies. Some images may still wait after one run; run the conversion again to continue. The page shows how many were converted, were up to date, are pending or failed, and how much each format saves.
- **Serve WebP or AVIF when the browser supports it** sends a copy only to browsers that accept its format. Turn it on after the first conversion. It is available on PHP sites.
- **Automatic conversion**: while the switch is on, the agent converts new uploads itself, about every 10 minutes, with at most 500 images and 60 seconds of work per run. It converts only the files that have no up-to-date copy, so a converted library needs only a quick scan per run. The run is started as the site's own user, which has no root access and writes only in the site's folder. Turning the switch off, taking the site offline or deleting it removes the timer.
- **Size rule**: a copy is kept and served only when it is smaller than the original. An AVIF copy is also kept only when it is smaller than the WebP copy of the same image, because browsers that accept AVIF are served it first. A larger copy is deleted, and that original is not converted again until it changes. Each AVIF is encoded at quality 60 (libavif's default), which was smaller than WebP at quality 80 on the sample photos we measured.
- **Cleanup**: on every run, manual or timer, a copy whose original was deleted (a file such as `photo.jpg.webp` with no `photo.jpg`) is removed. Only files with that exact copy name inside the uploads are removed.
- WebP is written on every server where the encoder is installed (the panel installs it when it is missing). **AVIF is written on Debian 12 and Debian 13 only**, where the distribution has fixed the libavif security issues. On Ubuntu only WebP is written, and the panel says so under **Formats written**.

**Core Web Vitals** checks the home page of the site with Google's PageSpeed Insights, on mobile and on desktop, and records the results. It needs a key:

- **Own key**: add a PageSpeed Insights API key from your own Google Cloud project. The key is stored sealed and is never shown again; you can replace or remove it. With your own key, **Run now** checks one URL and strategy an hour, and the daily checks run as usual.
- **Platform key**: if your organization has no key, the checks use the platform key when Zefily provides one. The platform key is shared by every organization without its own, so it allows one run per URL and strategy a day, by hand or scheduled. A run that is refused says when the next check is possible.
- **Daily checks**: turn on **Check this site every day**. The monitor checks the home page and up to four more paths (for example `/shop/`), each on mobile and on desktop, at most once in 23 hours for each address and strategy. Paths have no spaces, query or fragment.

**To get your own key**, open the [Credentials page of the Google Cloud console](https://console.cloud.google.com/apis/credentials), or click **Get a Key** in [Google's PageSpeed Insights guide](https://developers.google.com/speed/docs/insights/v5/get-started), then:

1. Create a project, or choose an existing one.
2. Enable the **PageSpeed Insights API** for that project.
3. Choose **Create credentials**, then **API key**, and copy the key.
4. Restrict the key to the **PageSpeed Insights API**, then paste it under **Monitor and key** on the site's **Core Web Vitals** part of the Performance tab.

The key is used only to run PageSpeed Insights checks for your organization's sites. It is stored encrypted and is never shown again after you save it. Scheduled checks run at most once a day for each URL and strategy. A manual run with your own key is allowed once an hour for each URL and strategy.

The results show the score and the metrics LCP, INP, TBT and CLS for each address, and the home page score on mobile for 30 days. **Around the latest update** compares the last run before an update with the first run after it, so you see whether a safe update changed the speed. Core Web Vitals rating also counts in the health score.

**Autoloaded options** shows the largest options that WordPress loads on every page, with their size. **Optimize** keeps 10 revisions, empties the trash after 14 days, sets 256 MB of memory, throttles Heartbeat and reports the size of the autoloaded options. Autotune sizes PHP and the database for the server.

**Database cleanup** works in two steps. Choose what to clean and how many revisions to keep per post (0 to 100), then press **Preview**. The preview counts the rows of each item and changes nothing. **Clean up** runs the real cleanup after you confirm the counts. A database snapshot is taken first and restored if the site stops answering. The items are:

- Expired transients, or all transients (temporary cache values kept in the database)
- Spam comments
- Trashed posts. These are deleted for good; the trash is skipped.
- Orphaned post meta and orphaned comment meta (data left behind by deleted posts and comments)
- Optimize tables

**Your own optimizations.** Zefily applies the performance profile once, when a WordPress site is created or imported, and skips each setting you changed before that. Redeploying a site or changing its settings does not apply the profile again: it rewrites only Zefily's web server files, and the must-use plugin that purges the page cache on publish (`zefily-cache-purge.php`) while the page cache is on. Zefily does not overwrite a WordPress setting or file that you made yourself, and each of its changes can be switched off. It changes a WordPress setting again only when you press its button or switch it:

- **Your own page cache.** To use WP Rocket, W3 Total Cache or another page cache plugin, turn off Zefily's page cache first (Performance tab, **Cache**). On OpenLiteSpeed, turn off the LiteSpeed Cache switch on the same card, and deactivate LiteSpeed Cache in WordPress if you want another plugin. Two page caches in front of each other can serve a page that your plugin cannot purge.
- **Your own object cache.** Zefily's object cache installs the Redis Object Cache plugin from wordpress.org and copies its `object-cache.php` into `wp-content`. If `wp-content/object-cache.php` is already another cache, not that plugin's drop-in, Zefily refuses to turn the object cache on and changes nothing: remove or deactivate your own cache first, then turn it on. Turning Zefily's object cache off deactivates the plugin, removes its `object-cache.php` and removes the `WP_REDIS_*` constants it wrote to `wp-config.php`, unless you changed one of them yourself (the job log names it). The switch shows on only once the cache is really on.
- **WP-Cron.** Turning the system timer on writes `define( 'DISABLE_WP_CRON', true );` into `wp-config.php` with a Zefily comment at the end of the line. Turning it off removes only that marked line. A `DISABLE_WP_CRON` line you wrote yourself is kept, and the job log says so; the timer then runs beside it.
- **Optimize.** Each run sets `WP_POST_REVISIONS` to 10, `EMPTY_TRASH_DAYS` to 14, `WP_MEMORY_LIMIT` to `'256M'` and `WP_MAX_MEMORY_LIMIT` to `'512M'` in `wp-config.php`, unless you defined that constant yourself. A value you defined stays, and the job log says `kept your value ... for ...`. Set the values you want in `wp-config.php`; Optimize keeps them.
- **Heartbeat.** Optimize writes the Heartbeat plugin `wp-content/mu-plugins/zefily-heartbeat.php` (off on the front end, every 60 seconds in the admin) while the **Heartbeat** switch on the Cache card is on. It is on by default. Switch it off to keep WordPress' own pace: Zefily removes that file at once, when the file is Zefily's. Switching it on again writes the file at once.
- **LiteSpeed Cache (page cache, OpenLiteSpeed only).** Turn it on with the **LiteSpeed Cache (page cache)** switch on the Cache card. Zefily installs and activates the official LiteSpeed Cache plugin from wordpress.org, through WP-CLI as the site user, and the plugin serves the page cache. Guests get cached pages. Logged-in users are never shown a cached page, and requests with an Authorization header or a comment author cookie are not answered from the cache with someone else's page. If another page cache plugin is active (WP Rocket, W3 Total Cache, WP Super Cache and similar), turning the switch on is refused until you turn that plugin off. While WooCommerce is active, turning it on also adds its cart cookies, `woocommerce_items_in_cart` and `wp_woocommerce_session_`, to the plugin's **Do Not Cache Cookies** list, so a visitor with a cart gets the page with the cart, never a cached guest page. Your own names on that list stay. Turning it off stops Zefily's management. If Zefily had turned the page cache on, it also sets the plugin's page cache to off (`litespeed.conf.cache` = 0) and purges the cache, so the page shows Off and nothing is served from the cache. The plugin stays installed and active. Its other settings, its cookie list and any `.htaccess` rules you set up stay as they are; Zefily removes only the `.htaccess` block it wrote itself. To use another cache plugin, deactivate LiteSpeed Cache in WordPress yourself; Zefily never deactivates or deletes it.
- **Purge on publish.** Zefily writes `zefily-cache-purge.php` while its page cache is on, or while LiteSpeed Cache is installed on OpenLiteSpeed, and removes it when neither applies. A plugin of that name that you wrote yourself is never removed. On OpenLiteSpeed the purge empties the LiteSpeed Cache through the plugin.
- **Permalinks.** A new site gets post-name permalinks (`/%postname%/`). An imported site keeps the permalink setting of its source. Zefily does not set it again; change it under **Settings → Permalinks** in wp-admin.
- **PHP and OPcache.** OPcache is shared by the server's sites and is sized by autotune. To keep your own OPcache values, see [Performance and autotune](/docs/performance). Each site's PHP limits are on its PHP pane.

## Tools

The **Tools** tab has these tools.

**Search and replace** changes a text, such as an old domain, everywhere in the database. It handles serialized data correctly, so the replacement does not break settings.

1. Enter the text to find and the text to put in its place.
2. Press **Preview**. It counts the replacements per table and changes nothing.
3. Press **Run** and confirm the counts.

A real run on a staging copy needs no passkey. A real run on the live site is a high-risk change: the job waits for your passkey, and you type the domain. A database snapshot is taken first. Dry runs never need a passkey.

**WP-Cron** runs WordPress' scheduled tasks from a system timer instead of on page visits. Turn on **Use system cron** and choose how often it runs: every 1, 2, 5, 10, 15, 30 or 60 minutes. Use page-visit cron to switch back.

**File permissions** resets the site's folders to 755, its files to 644 and `wp-config.php` to 640, all owned by the site user. Nothing outside the site folder is touched. The change asks for confirmation, and you type the domain to confirm.

**Debug log** shows the newest lines of the site's WordPress debug log, grouped by level and message or as the raw log. The newest entries are read when you open the tab and the last read is older than ten minutes; **Refresh** reads them again. An enabled activity log is read the same way. The log is read only; nothing is changed.

**Activity log** is optional. When you switch it on, Zefily adds a small must-use plugin to the site that writes one line per event: sign-ins and failed sign-ins, users created, deleted or given another role, plugins and themes activated, installed, updated or removed, theme switches, changes to the site address, admin email and registration settings, and posts published or trashed. Each line has the time, the user, the IP address, the action and the object. It makes no network calls and writes nothing to the database. The viewer in the Tools tab shows the lines as a table you can filter. Switching it off removes the plugin; the log file stays.

**Timed debug** turns WordPress debug on for a set time (15 to 240 minutes) and switches it off again, so it never stays on by accident. Use it to find an error without leaving debug on.

## WooCommerce

When the site has WooCommerce, a **WooCommerce** card appears on the Overview with the key numbers (orders in the last 30 days, failed and past-due actions, overdue cron events) and an **Open WooCommerce** button. The **WooCommerce** tab holds the detail:

- **Store health**: the store's version, order storage (HPOS) and its sync, orders in the last 30 days, the Action Scheduler totals and overdue cron events. It reads the store and changes nothing, and checks again by itself when the last check is older than an hour.
- **Action Scheduler queue**: pending, failed or past-due actions, 25 per page, with the hook, group, status, scheduled time (UTC) and age. Reading the queue changes nothing. Running or retrying one action is not offered, because WooCommerce documents no WP-CLI command for it.
- **Store maintenance**: every action asks for confirmation first. A clean and a database update take a database snapshot before they change anything.
  - **Run due actions** runs the actions that are due now, in batches of 100 (up to 5 batches per run).
  - **Clean finished actions** removes completed, failed or canceled actions scheduled more than the chosen number of days ago. Pending actions are never removed.
  - **System tool** clears the WooCommerce transients or regenerates the product lookup tables.
  - **Update the WooCommerce database** runs the pending database upgrades. Run it when WooCommerce asks for one.

- **Order storage (HPOS) sync** copies orders from the posts tables into the custom order tables with the documented `wp wc hpos sync`. It moves every order, so it is high risk: the job waits for your passkey. It is safe to interrupt and run again.
- **Store notice** shows a short text on the store for 15 minutes to a day, then switches it off by itself (WooCommerce's store notice, `woocommerce_demo_store`). A newer notice replaces the timer. The panel cannot pause checkout: WooCommerce documents no way to do that from here.
- In the queue, **Run now** runs one pending action (`wp action-scheduler action run <id>`). It appears only where the site's Action Scheduler has that command. Retrying a failed action is not offered: Action Scheduler documents no command for it.
## Users

The **Users** tab lists the site's WordPress accounts. **Sign in as** on a row makes a one-time link (valid for 60 seconds) that signs you in as that user, when the user has one of the roles you allow for magic login. Choose those roles above the list (administrators by default); a user with another role is refused. Each sign-in is audited with the user's login.

The Users tab lists the site's WordPress accounts. A new user gets WordPress' email to set their own password; nobody else sees it. **Send password reset** mails a reset link. Deleting a user moves their posts to the user you pick.

## Settings

The **Settings** tab works through WP-CLI on the server. Settings and users are read from the site when you open the tab, so it shows what is there now; **Read from the site** reads them again.

- **Debug mode** turns on `WP_DEBUG` and logs to `~/logs/wp-debug.log` in the site user's home, outside the web root, so errors are never shown to visitors. Turn it off when done. For a short session, use timed debug on the Tools tab.
- **WordPress maintenance mode** shows WordPress' own "Briefly unavailable" page. For a page that covers the whole site and lets your addresses through, use maintenance mode in the site's **Rules** (see [Access and caching](/docs/access-and-caching)).
- **wp-config.php** lists its constants and variables. **Set** adds or changes a constant: `true`, `false` and whole numbers are written as such, anything else as text. Database credentials, keys, salts and multisite settings are hidden and cannot be changed here.
- **Multisite** turns the site into a network. Subdirectory networks (`example.com/shop`) work at once; the web server gets the rewrites they need. Subdomain networks (`shop.example.com`) need the alias `*.example.com` on the site and a wildcard certificate through DNS-01, so an HTTPS site needs a DNS account in its HTTPS settings first; the conversion is refused without one. After the conversion a **Wildcard certificate** card shows whether the alias and the DNS account are in place. Then **Add site** creates network sites. A network cannot be turned back into a single site from here.
- **Super admins** on a network: the **Users** list shows who is a network super admin. **Make super admin** grants network-wide administrator rights to a user by login (`wp super-admin add`); **Remove super admin rights** takes them back (`wp super-admin remove`). Both ask first and are audited, and only a network has them.
- **Users on one network site**: pick a network site, a user and a role. **Give role** adds the role on that site (`wp user add-role --url`); **Remove from site** removes the user's roles there (`wp user remove-role --url`). The main site's users stay on the Users list. Both ask first and are audited.
- **Network plugins and themes**: on a network, a plugin's menu offers **Network activate** and **Network deactivate** (`wp plugin activate|deactivate --network`), and a theme's menu offers **Enable for network** (`wp theme enable --network`). Each asks first and is audited; a site that is not a network is refused.
- **Network settings** (on a network): registration (none, users, all, blogs), the admin email, the upload space per site and the file upload limit. Each is set with `wp site option update` after a confirmation; the panel reads the current values first. Other network settings are not changed from here.
- **Search and replace on one network site**: the Multisite card changes the text in one network site's tables (its prefix carries its id; the main site's tables are not touched). A dry run shows the count; a real run takes a snapshot first and asks you to confirm. On a live site it waits for your passkey in the job list.
- **Purge cache** on a network site empties its page cache, after a confirmation. On OpenLiteSpeed it purges that site's LiteSpeed Cache (`wp eval` with its address); on nginx the cache is kept per site, so it empties the whole site's page cache, which includes its other network sites.
- **Own domain for a network site**: **Map domain** gives a network site its own domain (WordPress native domain mapping, since WordPress 4.5: its Site Address). The domain is added to the site as an alias, so the web server answers for it and its certificate is requested the same way as any alias; the DNS records to set (A and AAAA to the server) are shown with the field. Point the DNS records first, then confirm. Cookies and logins are per domain, so a visitor signs in again on the new address. Mapping a network site needs its own domain to be free on this server.
- **Network sites** are listed under **Multisite**, with their address and flags. Each network site (never the main site) can be deactivated and activated, archived or unarchived, marked as spam or unmarked. **Delete site** removes the network site and its tables; type its address first. Every change asks for your confirmation first, and creating a site with **Add site** asks too; each one is recorded in the audit log.

## Fleet view

The **WordPress** page shows all your sites together. Use the two views at the top:

- **Sites**: one row per site, with its server, core, plugins, themes, vulnerabilities, PHP version, update policy, last backup, uptime, the time of the last check and its health score. Choose the columns you need.
- **Plugins**: every plugin found on your sites, with its versions, how many sites run it, how many updates wait, whether it is known to be vulnerable, and **Act on sites** for the sites that run it.

**Filters** narrow the list by label, server, web server, health (Healthy 80 and above, Attention 50 to 79, Risk under 50, Never checked), policy (on or off), and by **Needs updates**, **Vulnerable** or **PHP end of life**. **Clear filters** removes them all. Search by domain or server name. Save a combination as a **Saved view**, and share it with the organization if you want your team to see it too.

**Labels** group sites: up to ten labels per site, each with a name and a colour, for example a client, an environment or a level of importance.

**Health score** is a number from 0 to 100 for each site. It weighs updates (25), known vulnerabilities (25), hardening (15), backups (15), file integrity (10) and uptime (10). A PHP version past its end of life takes 10 more points off. A site that has never been checked has no score. A check that has not run yet (for example integrity or uptime) scores half of its weight, so a missing check never looks like a full score. When the site has a Core Web Vitals rating, it counts too (good 10, needs improvement 5, poor 0 of 10 points).

**Bulk actions** run one action on many sites at once. Select sites, then press **Choose action**. You can run:

- a **Safe update** (with the same snapshot and restore as a single site),
- a **Plugin** action: install, activate, deactivate or remove the plugins with the wordpress.org slugs you type,
- a **Hardening profile**: the recommended four rules, or none,
- a **PHP version**,
- **Purge caches**,
- an **Integrity check**,
- an **Update policy**: the mode, days, hour, hold-back list and the **When a check fails** choice of the policy.

Each bulk run takes at most 100 sites. **Preview** comes first: it lists what each site gets, how many need your passkey, and which sites are skipped (server missing, you cannot operate the server, or the server is not active). Nothing runs until you press **Start**. Sites start in groups of five, and the **Progress** panel shows each site as queued, running, done or failed.

## Client reports

Two reports summarise the WordPress work of an organization by e-mail. Both go to the owners and admins who have not turned off the weekly digest.

**Weekly update report** arrives on Monday morning. It covers the last seven days of update policy runs: for each site, what was updated, held back, restored, needs a review, or failed. It is sent only when a policy run finished that week.

**Monthly client report** arrives on the first day of the month, for the month before. It is sent when the organization has WordPress sites. For each live site it lists:

- the updates done and failed,
- the update policy runs and restores,
- the integrity repairs,
- the backups of the plans that cover the site,
- the uptime of the month,
- the Core Web Vitals of the month's mobile PageSpeed check (score, LCP, INP, CLS),
- the security state: the known vulnerabilities of each site's versions at its last check, how many are known to be exploited, and the hardening score.

Open the report from the fleet view with **Client report** and the month. **Download PDF** builds the same report as a PDF file on the server, with the organization's white-label name and accent colour (the logo is not drawn). The printable page also works: use your browser's print dialog to save it as a PDF.

## Moving a WordPress site in from another host

The migration helper is a small plugin for the old site. Download it from the migration helper page at `/wordpress/migration-helper`, which shows the zip's SHA-256 next to the download: compare it before you install. Install and activate it on the old site, open **Tools > Zefily migration** there and create a key. The key works once and for 30 minutes. Give the old site's https address and the key on the same page: Zefily reads the site's WordPress and PHP versions, theme, plugins and tables. The helper never sends session tokens, and it removes itself when the copy is done or the key expires unused. Users come across as they are (see below).

Then choose where the copy goes. **Create a new site** (the default) makes a WordPress site with the domain you choose (a free address or your own), on the server and PHP version you pick (the old site's PHP version by default). Zefily creates it, waits until its certificate is issued, then copies the old site into it. **Overwrite an existing site** replaces the database and wp-content of a WordPress site you already have; say so in the confirmation, because that site's current content is gone. Either way the job needs your passkey approval in the job list. The copy streams the old site's database and wp-content over HTTPS to the target server's agent, loads the database, rewrites the old address to the target's, and asks the helper to remove itself. Users come across as they are: their password hashes and e-mail addresses are copied, so they sign in with their old passwords on the new site. The panel's stored administrator password for the site is cleared, and the one-click login signs in as the first administrator of the copy. The target's wp-config.php stays: it holds the target's database and its salts. Login sessions do not come across. Check the copied site afterwards: plugins that keep settings outside the database and the target's must-use plugins may need a look.

## API, CLI and MCP

The WordPress tools are also available through the public API, the `zefily` command-line tool and the MCP server. They cover the update policy, safe updates, plugins, search and replace, database cleanup, integrity checks and repair, the debug log, file permissions, push and pull, and the staging refresh. A high-risk job answers as awaiting your passkey, as it does in the panel. The fleet view's bulk runs, labels, saved views and the client report page are web only.

The Manage tab's changes (users and roles, constants, switches, multisite, network sites, super admins, network settings, a network site's domain and cache) go through `POST .../wordpress/manage` with `sites:write`, `wordpress manage <site> --action …` and `wordpress_manage`. Each one is the same action the panel sends: it is audited, and it asks no confirmation of its own, so confirm in your code before you send it.

See [API and CLI](/docs/api-and-cli), [CLI](/docs/cli) and [MCP](/docs/mcp) for the access tokens and scopes.

---
Source: https://zefily.com/docs/wordpress
