Themewaves
How-To

How Do I Uninstall WordPress? (Safely)

Remove WordPress safely with a backup and a few hosting account steps.

How Do I Uninstall WordPress? (Safely)

What uninstalling WordPress actually removes

To uninstall WordPress, remove its site files and database from your hosting account. This deletes the WordPress installation, including its themes, plugins, posts, and settings. Your domain and hosting plan remain active unless you cancel them separately.

Some hosts offer a one-click removal tool. You can also delete the files and database by hand through cPanel. The right method depends on how WordPress was installed and which host you use.

Before you start, check whether the installation is your live site or a test site. Removing the wrong folder or database can take another website offline. Make a backup first.

Why you might want to remove WordPress

People often remove WordPress when they move a site to another platform or hosting account. A migration may involve copying the site elsewhere, then deleting the old copy once the new one works. Keep the old site until you have checked the new address.

You may also want a clean start after testing themes, plugins, or site settings. Removing an unused test installation can free up space and reduce clutter in your hosting account. It does not cancel your hosting or domain bill.

Think through what you need to keep. Save any media, text, email settings, or database records that matter. If you may need the site again, store a full backup outside the hosting account.

  • Switching to another website platform
  • Moving WordPress to a new host or domain
  • Removing an old test or staging site
  • Starting over with a fresh installation

These reasons call for different next steps. A migration needs a working copy elsewhere. A test site may need no backup, but confirm its folder before deleting anything.

A backup drive and red folder arranged before removing WordPress files
Back up WordPress before removal

How to uninstall WordPress through cPanel

First, create a backup of the site files and database. In cPanel, use the backup tools provided by your host, or download the site folder and export the database. Store the backup on your computer or another safe location.

Then remove the WordPress files with File Manager. This method works for a manual WordPress installation, even when no one-click tool is available.

  1. Sign in to cPanel. Open File Manager, then find the website's document root. The main domain often uses public_html. Addon domains may use a different folder.
  2. Check the folder. Find WordPress files such as wp-admin, wp-content, and wp-includes. Make sure this is the site you mean to remove.
  3. Delete the site files. Select the WordPress files and folders, then choose Delete. Avoid removing files for other sites in the same account.
  4. Find the database. Open the database tool in cPanel. Look for the database name in the site's wp-config.php file before deleting anything.
  5. Remove the database. Delete the matching database and its database user only if no other site uses them.

Some cPanel accounts include Softaculous or another installer. If WordPress appears there, open its installation list and choose the removal option for the correct domain. Read the confirmation screen closely. It may offer to delete both files and database data.

Check the domain after removal. You may see a blank page, an error, or a default hosting page. Those results are normal when no site files remain.

A compact server unit beside a vivid red block on a white surface
Removing an old site from hosting

How to uninstall WordPress on Bluehost

Bluehost's account layout can change over time, so menu names may differ. Sign in to your Bluehost account and open the section for websites or hosting. Find the domain linked to the WordPress site you want to remove.

If your account shows a remove or delete option for that installation, review its details before confirming. Check whether it will delete the database, site files, or both. Save a backup first, since deletion may not be easy to undo.

If you do not see a WordPress removal tool, use the cPanel steps above when cPanel is available in your account. Open File Manager and confirm the domain's document root. Delete only the WordPress files for that site.

Next, identify its database through wp-config.php and remove it using the database tool. Do not guess based on the database name. If your Bluehost plan uses a different control panel, use its file and database tools instead, or ask Bluehost support to confirm the right path.

Afterward, visit the domain and check that the old site no longer loads. If you are moving the site, keep the old copy until the new one is live and tested.

Graphite storage boxes with one vivid red box on a clean white shelf
Keep site files easy to sort

How to uninstall WordPress on HostGator

Sign in to HostGator and open the hosting control panel for the right account. Many HostGator plans provide cPanel, where you can remove WordPress with File Manager and the database tools. First, back up the site and confirm its domain.

For an installation managed by an app installer, check its list of installed apps. Select the WordPress site by its domain, then choose its uninstall option if one appears. Read the prompt to see whether it removes files, the database, or both.

If there is no installer option, use cPanel. Find the domain's document root in File Manager, verify the WordPress folders, and delete the files for that site. Then check wp-config.php to find the matching database name.

Use the database tool to remove that database only after you confirm it belongs to the site. Remove its database user only if it is not shared by another installation. HostGator account screens can vary, so contact support if the domain or database link is unclear.

Visit the domain after removal. If you plan to install WordPress again, you can create a fresh installation once the old files and database are gone.

What to do after WordPress is removed

Check the site address and any subdomains that used the old installation. Also review your hosting account for leftover folders or databases. Do not delete items unless you know they belong to this site.

If you are switching platforms, point the domain to the new site only after it is ready. Update any DNS records or redirects needed for the move. Keep a copy of the backup until you have confirmed that important pages and files work.

Use this final check before you close the task:

  • The backup is stored outside the hosting account.
  • The correct domain's WordPress files are gone.
  • The matching database is removed, if no longer needed.
  • Other sites and shared databases still work.
  • The domain points to the right destination or shows the intended result.

If you only wanted a fresh start, install WordPress again through your host's setup tool. If the site was moved, test key pages, forms, and images on the new host first. Then decide whether to keep or remove the backup.

Step-by-step

  1. 01
    Back up the site

    Save the site files and database outside your hosting account. Check that the backup belongs to the correct domain.

  2. 02
    Find the WordPress installation

    Open your host's installer or file manager. Confirm the domain and document root before removing anything.

  3. 03
    Remove the site files

    Delete the verified WordPress folders and files. Avoid folders used by other sites in the same account.

  4. 04
    Remove the database if needed

    Use wp-config.php to find the matching database. Delete it only when no other site needs it.

  5. 05
    Test the domain

    Visit the domain and check the hosting account for needed leftovers. Confirm redirects or the new site work if you migrated.

Frequently asked questions

How do I uninstall WordPress from my hosting account?
Back up the site, remove its WordPress files, then delete its database if you no longer need it. Use your host's installer or control panel tools.
Can I uninstall WordPress through cPanel?
Yes. Use File Manager to remove the verified site files, then use the database tool to remove the matching database. Check wp-config.php before deleting it.
How do I uninstall WordPress on Bluehost?
Look for a removal option in your Bluehost website or hosting settings. If none appears, use cPanel or the file and database tools provided for your plan.
How do I uninstall WordPress on HostGator?
Use the app installer's removal option if your account has one. Otherwise, remove the site's files and database through cPanel after making a backup.
Does uninstalling WordPress cancel my domain or hosting?
No. Removing WordPress deletes the site installation, but your hosting plan and domain stay active. Cancel those services separately if you no longer need them.
Should I delete the WordPress database too?
Delete it only when you have confirmed it belongs to that site and no other installation uses it. Export a copy first if you may need its data.
Share XFacebookWhatsApp

Related reading

About cookies on this site

Essential cookies keep pages loading and the enquiry form working. Anything beyond that is optional and we only set it if you say yes. Details live in our Cookie Policy.