webtimeless

Sites

The Sites list and a site's own page: its tabs, plugin and theme updates, missing plugins, the web server and PHP, removed sites and sites under a path.

Where
/sites, and a page per site at /sites/<domain>
Works with
Sites the panel made and ones you made by hand
Removed sites kept
14 days
On this page

The Sites page lists every local site on this machine, the ones you made by hand included. Each site has a page of its own, with a tab for each part of it.

The Sites list

Each site is a card with its facts: health, certificate, WordPress core, PHP, the web server it runs on, git branch, database, multisite, logs and how it came here (installed by the panel and from what, restored, or made by hand). The server is Apache, nginx in front of Apache, or nginx.

A site under a path of another site shows on its own, next to its parent (see Sites under a path). Unfinished installs are listed at the top, to continue or discard (see Install drafts).

Filter and sort

Control What it does
Search Matches a domain, an alias or a branch
Show All, Needs attention (health issues) or Removed
How installed How a site came: from a repo, Fresh WordPress, restored, by hand, taken over
PHP version Only the sites on one version
Sort Newest or oldest first, name A to Z or Z to A
Grid and List Cards, or one row per site

The How installed and PHP filters show only when the sites differ. The sort and the view are remembered.

Grid and List

On a wide screen the grid has two cards per row, and three from about 1440px of content. A wide card puts its facts in two columns, so it has no empty half. List shows a row per site instead. Each card and row has a menu: open the site, log in to wp-admin, clear the cache, open in VS Code, its git links and the folder path.

Removed sites in the list

Removed sites never mix with live ones. One line under the list says how many are kept, or how many match what you typed, with Show them. See Removed sites.

A site's page

Breadcrumbs over the name show where you are: Sites, the site, its section. The header keeps wp-admin and Open site in view. Its menu has VS Code, Network Admin, the folder path and Remove site.

The tabs

A site's sections come in a fixed order, in three groups:

Group Tabs
The site itself Overview, Logs, Files
WordPress, its data and speed Network (on a multisite), Plugins and themes, Database, Performance, Cron, Config
The server Server and PHP (just Server without WordPress), Domains and SSL

A tab a site lacks leaves the others where they are. Each has its own address (?tab=database, ?tab=logs&log=apache), so a reload or a link opens the same one. On a site's page, the command palette (Ctrl+K) lists every tab and view too.

Side menu or tabs

On a wide screen the sections run down the side of the page, in a menu that stays in view as you scroll. Every section and its badge are always there. On a narrower screen they become tabs, and the ones that do not fit go under More, with their badges added up.

A section's own views are listed under it in the side menu, or as small tabs on a narrower screen: the Database's Overview, Tables, SQL and Backups and tools; Plugins and Themes; Browse and Uploads from production.

A badge counts only what needs a look: errors in debug.log, late WP-Cron events, local constants to set, names the certificate or the hosts file leaves out.

Cards

Cards side by side come in pairs of a kind, as tall as each other. A card that does the most, like Git or Import a database, takes the whole row.

Overview

The Overview starts with a tile for each other tab: debug mode, the network, the database, WP-Cron, server and PHP, domains and the certificate. Each opens its tab. The Server and PHP tile shows both, like "Apache · PHP 8.3".

Git

Git has a section per repo: the site's own, wp-content, each theme, plugin and must-use plugin folder with a .git of its own, and mounted folders. Each shows its branch, with pull, fetch and switch (search by any letters of the name). Its open pull or merge requests show through the GitHub CLI when you are signed in to it.

Tidy up

Tidy up on a repo cleans its old branches:

  1. It fetches from origin with prune, so branches deleted there leave the list.
  2. It lists the local branches whose branch on origin is gone, all ticked but the current one. Each says whether it is in origin's default branch; after a squash merge it often is not.
  3. It offers git gc, with the size of the repo's objects before and after.

A deleted branch is kept 14 days under refs/devmagic-panel/deleted, so Undo in the toast brings it back. The next Tidy up after that lets it go. History is never rewritten, so gc frees little when big files sit in the history itself, and the dialog says so.

WordPress and files

Quick actions sit next to the WordPress core and a summary of the plugins and themes: how many, how many are on, updates, and what the last missing check found. Each is a link to its view; the updates count opens the list on them. The summary only reads what was found and never starts a check.

Files says where the site lives, with Open in Files, a Files link for each folder, and VS Code.

Logs

The debug constants sit above debug.log, each on its own: WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY, SCRIPT_DEBUG and SAVEQUERIES.

Below them are debug.log, with Clear, and the web server's error log (Apache's, or nginx's for a site on nginx). A line that names a file of the site (.../functions.php on line 28) links to that file, at that line, on the Files tab.

Files

The site's folder and its files, read and changed as you, never as root. See Files.

Network

A network's sites, with archived, spam, hidden and deleted ones marked and filtered. A super admin can be made administrator on every site of the network, and Undo on the job takes it back.

Plugins and themes

The tab has two views, kept in the address like the Database tab's: Plugins and Themes. Both have Compact and Details. Details adds what each one says it does, who made it and its links; the view starts at Compact each time.

Plugins

Each plugin turns on or off with one switch, and Undo is in the toast. The list has search and filters, the updates WordPress already found, what each plugin needs and what needs it, and marks the plugins turned off at install and the local helpers.

  • Details reads each plugin's header: what it does, the author's name linked to their site, Plugin site for the plugin's own, and WordPress.org when WordPress's own update check found it there. Nothing is asked for that link, and only http(s) links show.
  • With the vulnerability check on (see Aura), a plugin or theme with a known vulnerability at its version gets a Vulnerable badge, with the fixed version and a link to the advisory.
  • A long list shows its first rows, with Show more and Show all.
  • Open folder lands in the plugin's folder on the Files tab, or Open file for a plugin that is a single file.

Themes

The Themes view shows which theme is on, the parent a child theme takes its templates from, the version and an update WordPress already found, what its style.css says of it and who made it. Open folder opens each one's folder on the Files tab.

A theme in a repo of its own under wp-content/repos is listed too, marked In its repo. You switch the theme in wp-admin.

Check for updates

Opening the tab sends nothing out: it shows the updates WordPress last found. Check again reads the list anew and asks WordPress.org for updates, as WordPress's own update check does.

Update plugins and themes

A row with an update WordPress found has Update to its new version. A bar above the list has Update all, with Snapshot the database first ticked.

  • Each one is updated from WordPress.org with WP-CLI, as you, one at a time. One that fails is noted and put back as it was, and the rest go on.
  • Each folder is copied to the Files tab's file trash first, so Undo on the job (or on the Files tab) puts the version from before back.
  • A plugin whose files do not match WordPress.org's checksums after the update is put back too.
  • One in a git repo is updated, and the job says to commit it there.

Must-use plugins, drop-ins, one-file plugins, links and themes kept in a repo are left to you to update.

View details

View details, on a row whose plugin or theme is on WordPress.org, opens what wp-admin calls View version details:

  • Changelog first, with the versions this update brings in a box of their own and the installed one marked, then Description, Installation and FAQ.
  • Beside them: the version, when it was last updated, active installs and rating.
  • What it needs next to what the site has: the PHP and WordPress it needs, in red when the site is below either, and the WordPress it was tested up to, in amber when the site runs a newer one.
  • Update to at the bottom.

Note The panel asks WordPress.org by slug only, never with a version or a site's name, and only when you open the details. The answer is kept six hours. Its HTML is turned into plain text parts on the server, so none of it runs in the panel.

A paid plugin that updates itself is not on WordPress.org, so it has no details here.

Missing plugins and themes

After a database import or a pull, the database can name plugins the site's files lack. One row under the search and filters lists these missing plugins; the Themes view has the same row for missing themes.

The row is always there and keeps its height, so the list under it never moves. It says it is checking, then that nothing is missing, or how many are, with Review to open them.

How the check runs

  • It reads every site of a network with one database query, 200 sites at a time.
  • It runs on the server: changing tab or page does not stop it, and coming back shows how far it got.
  • The result is kept half an hour, with when it was checked and Check again. A job that changes the site makes the next visit check anew.

What counts as missing

  • Plugins: the active ones (on any site of a network, or network-wide), and the ones production had installed. Those come from WordPress's own update check, which also gives production's version and the WordPress.org slug.
  • Themes: the theme each site uses, and the parent a child theme needs. A theme in a repo under wp-content/repos counts as there.

Install from WordPress.org

Plugins on WordPress.org install from there, one at a time, at production's version when it is known. Otherwise, or when that version is gone, they get the latest. One that fails is noted and the rest go on.

Each plugin is checked against WordPress.org's checksums, kept out of git locally, and left off: the database already says which are active. Undo removes what was installed. Themes install the same way, without a checksum check, since WordPress.org has none for themes.

Copy from the site's server

A premium or custom plugin or theme, which WordPress.org does not have, can be copied from the site's own server. The row shows that server (its SSH host and WordPress folder) with Change and Forget, and asks for both when none is saved yet. It is the same server Import a database uses from production, saved once for the site.

  1. See what the server has reads its lists of plugins and themes.
  2. Tick the ones you want.
  3. Copy from the server copies them over SSH.

Note The copy only reads on the server: WP-CLI says where the plugins folder is, and tar streams one folder to this machine. Nothing is written there. A password the server asks for is used for that run only, unless you saved it for that server.

  • What arrives is checked before it is unpacked: every entry inside the one folder asked for, no hard links, nothing under a link. Links are dropped.
  • A folder that exists is never written over, the copy is kept out of git locally, and nothing is activated.
  • A plugin can be at most 500 MB, and a run 3 GB. Must-use plugins, drop-ins and core are never copied.
  • A copied paid plugin keeps production's licence, so it may ask for a key or switch its updates off on a local address.

Database

Overview (what needs a look, read from WordPress's tables), Tables, SQL, and Backups and tools, in that order. Each is on Databases.

Performance

Why a page is slow, in one place.

Profiles

Xdebug's profiler for the site:

  1. Turn on profiling adds the profile mode to the PHP version the site runs, as a trigger only, so a page is profiled only when it asks.
  2. Open and profile opens a page of the site with XDEBUG_PROFILE=1. The card checks again on its own until the new profile shows.
  3. The profile shows the time by plugin and theme, and the slowest functions with their calls and callers. PHP's own functions count with the code that calls them most.

Download gives the file for KCachegrind or an IDE. Profiles go to the panel's own folder and are deleted after 3 days.

Top queries

Every query of the site's database, the most time in all first (see Top queries).

Cron

A WordPress site's WP-Cron events, with Run now and Delete (Undo puts one back), its intervals, Check WP-Cron, its cron tasks, and the switch that runs its WP-Cron from cron instead of page loads.

Server and PHP

How the site is served, in one tab, named Server for a site without WordPress.

Web server

The card shows the server the site runs on, and Change picks another, the way the site runs in production:

Server How it works
Apache Apache answers and reads every .htaccess.
nginx + Apache nginx answers and passes requests to the site's Apache over HTTPS, as hosts with nginx in front of Apache do.
nginx nginx with PHP-FPM. It reads no .htaccess, so the panel translates the rules it can.

nginx + Apache

nginx answers with the site's certificate. Apache still reads every .htaccess and runs the site's PHP.

By default nginx serves the images, CSS, JS and fonts that exist itself. Folders with an .htaccess of their own (a logs folder with Require all denied) still go to Apache. The dialog lists the rules of the root .htaccess about those files, which then do not run. Untick the option to send every request through Apache.

nginx

The dialog lists every rule of the site's .htaccess files and what it becomes:

Kind Examples
Covered WordPress's own rules, http to https, no folder listings
Translated Redirects, rewrites, denied files and folders, security headers, error pages
Not needed here Page caches, compression, production host names
PHP settings Left for the PHP card
Not translated Conditions, handlers, environment variables

The translated rules go into the site's nginx file; untick one to leave it out. A rule that is not translated needs a tick to go on, or pick nginx + Apache to keep it working.

  • A network whose sites live under paths gets WordPress's rules for any depth, so a site at /learn/potions/ reaches its core files as one at /learn/ does.
  • The full screen button next to the title gives the list the whole window.
  • The panel looks for .htaccess files in up to 5,000 folders. It reads only the top two levels of wp-content/cache and wp-content/uploads, and none of the year folders of uploads. One nginx file takes up to 500 rules. When a site goes over either, the dialog says which, and where the read stopped.

Moving a site

A job writes the new server's config and the hosts line, then checks the site answers, asking again for a few seconds while the web server takes in the reload. Only then does it remove the old config, and Undo moves it back.

The dialog says why a site cannot run on a server when it cannot. A site under a path runs on its domain's server and links to it. The command palette (Ctrl+K) has Move to nginx, Put nginx in front of Apache and Move to Apache for every site that can move as it is.

.htaccess rules on nginx

For a site on nginx, this card lists each rule of its .htaccess files and whether the nginx file has it, with Check again and Copy nginx rules (the translated ones, for a host's own nginx settings).

When an .htaccess changes

While it runs, the panel watches the .htaccess files of sites on nginx, a few seconds after a burst of writes, through the kernel's change notifications. It also compares checksums when it reads a site, for changes made while it was not running.

  • A change that gives nginx other rules, or adds rules nginx does nothing with, shows a notice on any page with Review, which opens the review on the site. Aura shows an issue while rules wait.
  • A change that leaves nginx's rules as they are stays quiet, like a caching plugin saving its settings or WordPress's own rules.
  • Not now puts a change off: Aura and the notices stay quiet until a file changes again.

Review and apply shows the same list with ticks. The job writes the rules once dmp-root has checked each one and nginx -t passes, with Undo. A file that changed again after you opened the review is refused, so you review it again.

Nothing is applied without the review, as on a host that runs nginx only, where an .htaccess change does nothing until it is added to the host's nginx rules. dmp-root takes rules of fixed kinds only and writes the nginx config itself, so nothing from an .htaccess reaches nginx as it is.

On Aura

A site with nginx in front of Apache gets an issue on Aura when its .htaccess has rules about files nginx serves (fixed with Send everything through Apache), or when a folder got an .htaccess of its own (fixed with Write its nginx rules again).

PHP

The site's own PHP version and settings, through its own PHP-FPM pool, checked against what its composer.json, plugins and themes ask for. The WP-CLI the panel runs for the site follows the same version. The card has a compatibility check before a switch and PHP info from the PHP that serves the site. PHP versions has the details.

Domains and SSL

The site's domains, its certificate and its hosts lines.

Quick actions

  • One-click wp-admin login (Network Admin too).
  • Clear caches and flush rewrite rules.
  • Open in VS Code in a new window, or open a terminal at the site's folder (the desktop's default terminal, when the panel runs in your desktop session). Under WSL on Windows, the terminal is Windows Terminal at the site's folder in the panel's distro, and VS Code opens the folder through its WSL remote, offering its WSL extension the first time.
  • Switch the shared WordPress core.
  • Local mode with blocked hosts, and where missing uploads load from.
  • Fix health issues in one click.
  • Remove site, for any site in the usual layout (see Removed sites).

Most of these are in the command palette too, with the open site's own first.

Removed sites

Remove site archives the site first: its folder, vhost, certificate and database. A site a reinstall or a restore replaced is kept the same way.

Tip Removed sites are kept 14 days. Removed on the Sites list (/sites?show=removed) lists them, to restore or delete for good.

See Removed sites and Undo and backups.

Sites under a path

A WordPress install a vhost serves under a path (an Alias, like Spellbook Learn at local.spellbook.example/learn) is a site of its own.

  • Its own: folder, database, git, debug settings, logs, Local mode and snapshots.
  • The parent's: vhost, certificate and hosts line.

The new site wizard installs one too: its own folder, and an Alias in the parent's vhost. A site moved to nginx takes the sites under its paths with it.

Checked against devmagic-panel 1.70.0.

Type to search the docs, guides, comparisons and tool pages.