Detaching a WordPress installation removes it from WP Toolkit’s management while keeping its website files and database. This guide explains how to detach the intended site through WHM or the command line.

Before you start

Check which site you are detaching and arrange another way to manage updates, backups and security settings. Detaching is not the same as uninstalling WordPress.

Detach through WHM

  1. Log in to WHM with permission to manage the installation.
  2. Open Plugins > WP Toolkit.
  3. Select the correct WordPress installation.
  4. Open its action menu or toolbar and select Detach.
  5. Check the site named in the confirmation, then confirm Detach.
  6. Verify that it no longer appears as a managed instance and that the website still works.

Detaching WordPress Websites

Detach through the command line

A server administrator can list the managed installations first:

/usr/local/bin/wp-toolkit --list

Match the installation ID to the intended domain and path. Then run the detach command with that ID, replacing the example 123:

/usr/local/bin/wp-toolkit --detach -instance-id 123

Check the result, list the installations again and test the website. Do not substitute a domain name for the numeric instance ID.