Add Or Remove WordPress Sites In wp-toolkit¶
Use this page when wp-toolkit needs to install a new site, attach an existing WordPress site, detach wp-toolkit management, or remove an installation.
Add A New WordPress Site¶
Use a new install when the destination is empty or intended to become a fresh WordPress site.
- Log in to cPanel.
- Open
wp-toolkitorWordPress Management. - Select
Install. - Choose the domain, subdomain, or folder.
- Set the site title and administrator account.
- Review any plugin, theme, or update defaults.
- Install WordPress.
- Sign in to WordPress and confirm the dashboard loads.
Do not install over a live site accidentally
If the destination folder already has files, stop and confirm what those files are. Installing over the wrong folder can replace or confuse an existing site.
Attach An Existing WordPress Site¶
wp-toolkit may detect WordPress sites automatically. If it does not, use the scan or attach option if available.
- Open wp-toolkit.
- Look for a scan, refresh, or attach option.
- Select the site path if wp-toolkit asks for one.
- Confirm the detected domain, path, and WordPress version.
- Open the site details and verify the admin URL.
Attach or scan does not move the site. It only adds the existing install to wp-toolkit management.
WP-CLI Equivalent: Install A Site¶
Use WP-CLI from the destination folder when the location is empty and intended for a new WordPress installation.
wp core download
wp config create --dbname=DB_NAME --dbuser=DB_USER --dbpass='DB_PASSWORD' --dbhost=localhost
wp db create
wp core install --url='https://example.com' --title='Site Title' --admin_user='adminname' --admin_password='strong-password' --admin_email='admin@example.com'
Replace the database name, database user, password, URL, title, and admin email with the real values for the site.
WP-CLI Equivalent: Confirm An Existing Site¶
Attach and detach are wp-toolkit management actions, so WP-CLI does not have a matching command for that cPanel-side tracking. WP-CLI can still confirm the WordPress install that exists at a path:
wp core version
wp option get siteurl
wp option get home
Detach A Site From wp-toolkit¶
Detach means wp-toolkit stops managing the site. It should not delete the website files or database.
Use detach when:
- The site should remain online but not be managed by wp-toolkit.
- wp-toolkit detected the wrong copy.
- A staging copy should not appear in wp-toolkit anymore.
- Support asks for wp-toolkit management to be removed.
After detaching, confirm the public site still loads.
Remove A WordPress Installation¶
Remove is different from detach. Removing an installation can delete site files, the database, or both depending on the options shown.
Before removing:
- Confirm the domain and installation path.
- Confirm whether the site is live, staging, abandoned, or duplicated.
- Create a backup if any part of the site may be needed later.
- Review whether the database, files, and uploads will be removed.
- Remove only the intended installation.
Detach is safer than remove when unsure
If the goal is only to stop wp-toolkit from tracking a site, detach it. Use remove only when the site itself should be deleted.
WP-CLI Equivalent: Prepare For Removal¶
WP-CLI can export the database and remove the database contents, but it does not replace the judgment needed before deleting website files.
wp db export ~/example-before-removal.sql
wp db drop --yes
After the database export is safely stored, remove files only after confirming the current folder is the intended WordPress document root. If there is any uncertainty about the path, stop and contact Fused before deleting files.
After Adding Or Removing¶
Check:
- Public URL.
- WordPress admin URL.
- SSL.
- Database name and document root.
- Any redirects or DNS records tied to the site.