How to Remove a WordPress Site from cPanel

Removing a WordPress installation from cPanel is a straightforward process if you prepare properly. In this guide, you will learn two safe methods (manual deletion and Softaculous uninstall), see real-world examples, and get answers to the most common related questions people search for.

Before You Start: Safety Checklist

Deleting a site in cPanel is permanent. Backups are your safety net.

1. Create a complete backup

Use UpdraftPlus, cPanel’s Backup tool, or FTP plus phpMyAdmin. Store backups off-server (Dropbox, Google Drive, local PC) to protect against host-side failures.

2. Locate your database

In File Manager, open wp-config.php. Note:

DB_NAME

DB_USER

DB_PASSWORD

This identifies the database and user to remove.

3. Plan for SEO and migration

If moving to a new host, prepare 301 redirects from old URLs to new ones. Test redirects before deletion.

4. Confirm access and timing

Verify cPanel login works. Choose a low-traffic window to minimize impact.

Method 1 – Manual Removal in cPanel

Step 1 – Log into cPanel

Visit yourdomain.com/cpanel or log in via your hosting dashboard.

Step 2 – Delete WordPress files

Go to File Manager → public_html (or addon domain folder). Select:

  • wp-admin
  • wp-content
  • wp-includes
  • All core files (index.php, wp-config.php, etc.)
     Click Delete, then Empty Trash if needed. Tip: If the site is in a subdirectory (for example public_html/blog), only delete that folder.

Step 3 – Remove the database

Go to MySQL Databases in cPanel. Match the DB name from wp-config.php. Click Delete Database. Remove the DB user listed in wp-config.php.

Step 4 – Double-check for leftovers

In File Manager, look for unused logs, backups, or installer scripts. In MySQL, ensure no orphaned DB users remain.

Method 2 – Uninstall via Softaculous (One-Click)

If WordPress was installed with Softaculous or a similar auto-installer:

  1. In cPanel, open Softaculous Apps Installer.
  2. Click Installations to see existing sites.
  3. Find your site (check domain and folder).
  4. Click Remove or Uninstall.
  5. Tick Remove Directory, Remove Database, Remove Database User.
  6. Confirm and wait for the success message.
    If Softaculous does not list the site, use the manual method above.

Real-World Examples

Example 1 – Migrating to a managed host

A business moving from shared cPanel hosting to a managed WordPress provider backed up their files with UpdraftPlus, set 301 redirects to the new domain, and then used Softaculous to uninstall the old site. This avoided leftover files and prevented visitors from seeing outdated pages.

Example 2 – Security cleanup after a hack

A personal blog was compromised by malware. The owner deleted all WordPress files via File Manager, dropped the database in MySQL, and removed unused database users. They then reinstalled WordPress fresh and restored only clean content from backup.

Example 3 – Removing an addon domain

An agency used one cPanel account for multiple sites. To retire one client project, they identified the correct addon domain directory, deleted only that folder, and removed its database. Other client sites on the same account continued running without issues.

SEO and Migration Considerations

Preserve rankings during migration

Set 301 redirects before deletion. Redirect high-value pages first (homepage, category pages, top articles). For many URLs, use regex rules or a plugin like Redirection. Check host limits (some cap redirects at 1,000).

Post-removal cleanup

Purge caches (host, CDN like Cloudflare). Use Google Search Console Removals tool for faster deindexing. Return 410 Gone for permanently removed pages. Update DNS if retiring the domain.

Edge Cases

  • Subdirectory install: Delete only that folder.
  • Addon domain: Remove files in its document root and matching DB.
  • Multiple installs in one account: Label folders before deleting, and match DB name carefully.

Quick Reference Tables

Manual Removal

ActionLocationResult
Delete filesFile ManagerRemoves core WP folders and uploads
Delete databaseMySQL DatabasesErases posts, pages, settings
Remove DB userMySQL DatabasesCloses unused DB access

Softaculous Removal

StepLocationOutcome
Open installercPanelLists current installs
Select siteInstallations listTargets correct install
Remove files and DBUninstall optionsComplete cleanup

Frequently Asked Questions (People Also Ask)

How do I delete a WordPress site from cPanel?

Log in to cPanel, delete the site’s files in File Manager, and remove its database and database user in MySQL Databases. If Softaculous is available, use its uninstall feature to remove everything in one step.

How do I remove a website from cPanel?

Identify the website’s root directory in File Manager, delete its files, and drop its associated database. If it is an addon domain, you can also remove the domain entry in cPanel.

How do I remove a WordPress site?

If you have cPanel, follow the manual or Softaculous method above. If you do not have cPanel, remove the files via FTP and delete the database through your host’s database tool.

How do I disconnect a WordPress site from a domain?

Remove the domain’s DNS records or point them to a different server. In cPanel, you can also delete the addon domain or subdomain mapping so it no longer resolves to the WordPress installation.

How to uninstall WordPress from Hostinger?

Hostinger offers both hPanel and cPanel. In hPanel, go to Websites → Manage → WordPress → Uninstall. In cPanel, follow the same manual or Softaculous method described above.

Delete website from cPanel GoDaddy?

In GoDaddy’s cPanel hosting, open File Manager, delete your site’s files, then remove the associated database and user. If installed with Installatron, use its uninstall option.

How to reinstall WordPress on cPanel?

Delete your current installation (files and database), then use Softaculous or the WordPress Manager in cPanel to install a fresh copy. You can import backups if needed.

How to delete and reinstall WordPress?

Remove all files and the database as shown in the manual method, then reinstall WordPress using your preferred method (Softaculous, manual upload, or host’s installer).

Final Checklist

  • Backups created and stored off-server
  • Database name and user confirmed from wp-config.php
  • Files deleted from correct directory
  • Database and user removed in MySQL
  • Redirects set (if migrating)
  • Caches purged and status codes tested
Book a Free Consultation Now!

We use strategic solutions and industry-leading technology to create websites that reflect your brand’s unique identity and grow your customer base and revenue.