Skip to content

Plesk WordPress Toolkit at scale — managing 100+ WP sites from one panel

Operate a fleet of 100+ WordPress sites in a single Plesk panel — mass updates, smart updates with rollback, security hardening sets, and per-site policies that don't require touching every install.

The Plesk node has 137 WordPress sites on it. Twelve are on WordPress 5.x, the rest are on 6.x but split across patch versions. Forty-three have abandoned the default wp-admin URL, ninety-four don’t. Sixteen still have XML-RPC enabled. One of them was the entry point for last week’s incident. You sit down to “harden them all” and discover that the panel UI takes one site at a time, the customer per-site logins are not your credentials, and you’d need to clone Yourself ninety times to finish before lunch. WordPress Toolkit’s purpose is exactly this — fleet-wide operations from a single screen, plus the CLI to script anything the UI can do, executed against any group of sites the panel knows about.

What’s happening

WordPress Toolkit is a Plesk extension that catalogues every WordPress installation under the panel (whether installed via Toolkit, manual upload, or migration), keeps per-site metadata (core version, plugins, themes, last update, last login, hardening flags), and exposes a fleet API. The CLI is plesk ext wp-toolkit. Operations are either per-site (--instance-id N) or fleet-wide (--all, or filtered by tags / labels / domain patterns). Hardening presets are versioned — “harden” applies the current preset’s checks (file permissions, disable directory listing, disable XML-RPC, ban author scans, hide version numbers, block PHP execution in uploads). A site re-hardened later picks up changes to the preset. Smart Updates is a separate concept (covered in a dedicated article) — it stages a copy, runs heuristics on the rendered output, and only flips traffic if the test passed. Together, the panel CLI turns a 137-site fleet from a per-site clickfest into a few scripted commands.

How to verify

Count WordPress sites the toolkit knows about:

plesk ext wp-toolkit --list
plesk ext wp-toolkit --list | wc -l

Group by core version to see the spread:

plesk ext wp-toolkit --list --format=json \
  | jq -r '.[] | .version' \
  | sort | uniq -c | sort -rn
#   95 6.4.3
#   28 6.3.2
#   12 5.9.4
#    2 (unmanaged)

See which sites have hardening applied:

plesk ext wp-toolkit --list --format=json \
  | jq -r '.[] | select(.is_hardened != true) | .domain'

Get the per-site details Toolkit holds:

plesk ext wp-toolkit --info --instance-id 47

If the list is shorter than the actual number of WordPress sites on the box, some installs were never detected — run a rescan:

plesk ext wp-toolkit --scan

The fix

Fleet operations are a handful of repeatable CLI calls, each idempotent. Build them into shell functions and the panel becomes scriptable.

1. Rescan the panel (catch manual uploads and migrations)

plesk ext wp-toolkit --scan

Toolkit walks every subscription’s document roots, identifies WordPress installs by the presence of wp-config.php + a wp_options table, and registers them. Newly-detected sites appear in --list.

2. Mass core update, only to the latest patch (security only)

plesk ext wp-toolkit --update --all \
  --updates-core true \
  --updates-plugins false \
  --updates-themes false \
  --type minor

--type minor restricts to patch releases (6.4.3 → 6.4.4) — does not bump 6.4.x to 6.5.0. Use --type major for major bumps, but never as a fleet-wide call without staged updates.

3. Update plugins by name, fleet-wide

The “update everything” call is rarely what you want — one customer’s contact form plugin may have a known compatibility bug with the latest version. Update by plugin slug:

plesk ext wp-toolkit --plugin-update --all \
  --plugin "wordpress-seo,akismet,contact-form-7"

Plesk runs the per-plugin update on every site where that plugin is installed and reports back per-site success/failure.

4. Apply the current hardening preset to every site

plesk ext wp-toolkit --secure --all

Toolkit’s default preset includes: disable directory listing, disable PHP execution in wp-content/uploads, secure wp-config.php, restrict access to .htaccess, restrict access to wp-includes, disable file editing in admin, prevent author scans, hide WordPress version. A site that already has a check passing is unchanged; one that fails has the file/permission flipped.

5. Custom security policy across the fleet (one-off via wp-cli)

Toolkit does not (yet) cover every check. For one-offs — disable XML-RPC, force 2FA on admins via a plugin, change the admin URL — script wp-cli through the per-site shell:

plesk ext wp-toolkit --list --format=json \
  | jq -r '.[].path' \
  | while read SITE_PATH; do
      sudo -u "$(stat -c '%U' "${SITE_PATH}")" wp \
        --path="${SITE_PATH}" \
        option update default_pingback_flag 0
      sudo -u "$(stat -c '%U' "${SITE_PATH}")" wp \
        --path="${SITE_PATH}" \
        option update default_ping_status closed
    done

The same pattern works for forcing TLS in admin, rotating WP_AUTH_KEY salts, banning specific user-agents, and any other wp-cli-able task.

6. Inventory + change reporting

Generate a CSV of the fleet state any time you need to answer “what version is everything on”:

plesk ext wp-toolkit --list --format=json \
  | jq -r '.[] | [.domain, .version, .is_hardened, .auto_updates, .last_login] | @csv' \
  > /var/www/vhosts/internal.example.com/httpdocs/wp-inventory.csv

Pair the CSV with a daily cron and a diff between yesterday and today — that’s the fleet’s change log without a separate monitoring tool.

7. Fleet labels for tier-aware policies

Toolkit supports labels for grouping sites by tier (production, staging, customer, internal). Tag them on creation or in bulk:

# Tag every site under a reseller
plesk ext wp-toolkit --list --format=json \
  | jq -r '.[] | select(.subscription_owner=="agency-acme") | .id' \
  | while read ID; do
      plesk ext wp-toolkit --update-tags --instance-id "${ID}" --tags "agency-acme,production"
    done

# Update only those sites
plesk ext wp-toolkit --update \
  --tags "agency-acme,production" \
  --updates-core true \
  --type minor

8. Per-site rollback when an update breaks something

WordPress Toolkit takes a pre-update restore point when you invoke --update with --restore-point true. Roll back a single site:

plesk ext wp-toolkit --restore --instance-id 47

The restore point covers files + database; the site goes back to the moment before the update was applied. Restore points expire after a configurable window (default 7 days).

9. Detect compromised installs

Toolkit ships with a malware scanner (powered by the underlying Plesk security extensions). Run it across the fleet:

plesk ext wp-toolkit --check-vulnerabilities --all --format=json \
  | jq -r '.[] | select(.vulnerabilities | length > 0) | .domain'

The output is the list of sites whose plugin/theme/core combination has a known CVE. Pair with a mass plugin-update by slug to clear the list.

10. Disable wp-cron and run system cron instead (fleet-wide)

WordPress’s built-in cron runs on every page load, which makes one customer’s site slower the more cron jobs accumulate. Disable wp-cron and install a per-site system cron:

plesk ext wp-toolkit --list --format=json \
  | jq -r '.[].path + " " + .system_user' \
  | while read SITE_PATH USER; do
      sudo -u "${USER}" wp --path="${SITE_PATH}" config set DISABLE_WP_CRON true --type=constant --raw

      cat > "/etc/cron.d/wp-${USER}" <<EOF
*/15 * * * * ${USER} cd ${SITE_PATH} && /usr/local/bin/wp cron event run --due-now > /dev/null 2>&1
EOF
    done

Every fifteen minutes, every site’s scheduled cron jobs run from the system cron rather than from a synchronous page request — page TTFB stops being inflated by background jobs.

The Toolkit’s fleet API is the right level of abstraction for 100+ sites — anything below that is per-site clicking, anything above is custom orchestration. Keep the operations in shell scripts under version control next to the panel runbooks; treat the panel as the inventory and the executor.

Operate a 100+ site WordPress fleet on Stack Harbor’s managed Enterprise WordPress plane with fleet patching windows, malware scanning, and Sev-1 escalation handled by our team — or scope the migration if you’d like us to take the fleet over and run it.