Skip to content

How to Delete WordPress

This guide walks you through the complete process of how to delete WordPress from your website. Whether you’re switching platforms or ending a project, we’ll show you how to remove all files and databases securely.

Key Takeaways

  • Back up your site first: Always save your content, themes, and database before deleting WordPress to avoid permanent data loss.
  • Delete via hosting control panel: Most users can remove WordPress using cPanel, Plesk, or your host’s file manager.
  • Remove the database separately: WordPress stores content in a MySQL database—don’t forget to delete it after removing files.
  • Use FTP as a backup method: If your hosting dashboard is inaccessible, use an FTP client like FileZilla to delete WordPress files manually.
  • Clear domain and DNS settings if needed: If you’re not using the domain anymore, update DNS records or point it elsewhere.
  • Consider using a reset plugin: For partial cleanup (keeping files but resetting content), tools like WP Reset can help—ideal for testing sites.
  • Double-check for leftover files: Some plugins or themes may leave behind folders—manually verify everything is gone.

How to Delete WordPress: A Complete Step-by-Step Guide

Whether you’re redesigning your website, switching to another platform like Joomla or Squarespace, or simply ending a project, knowing how to delete WordPress properly is essential. Deleting WordPress isn’t just about removing a few files—it involves cleaning up both your website files and your database to ensure nothing is left behind.

In this guide, we’ll walk you through multiple methods to completely remove WordPress from your hosting account. We’ll cover deletion via your hosting control panel, using FTP, and even how to reset your site without full deletion. By the end, you’ll be able to confidently uninstall WordPress with zero traces left on your server.

Why You Might Want to Delete WordPress

There are several common reasons people choose to delete their WordPress installation:

  • Switching platforms: Moving to Shopify, Wix, or a custom-built site.
  • Site is no longer needed: The project is complete or abandoned.
  • Security concerns: A hacked site may require a full wipe before rebuilding.
  • Testing environment cleanup: Removing a staging or demo site after use.
  • Hosting space management: Freeing up server resources for other projects.

Whatever your reason, it’s important to delete WordPress correctly to avoid orphaned files, wasted storage, or potential security risks.

Method 1: Delete WordPress via Hosting Control Panel (cPanel)

The easiest and most common way to delete WordPress is through your web hosting control panel—usually cPanel or Plesk. Most shared hosting providers use cPanel, so we’ll focus on that.

Step 1: Log in to Your Hosting Account

Go to your hosting provider’s website and log in to your account dashboard. Look for a link to “cPanel” or “Control Panel” and click it.

Step 2: Access the File Manager

Inside cPanel, find the File Manager tool (usually under the “Files” section). Click on it and navigate to the root directory of your website—typically named public_html or www.

Step 3: Delete WordPress Files

You’ll see all your WordPress files and folders, such as wp-admin, wp-content, wp-includes, and core files like wp-config.php. Select all of them and click the Delete button. Confirm the action when prompted.

Tip: If you have multiple websites in subfolders (e.g., public_html/blog), navigate to that specific folder instead.

Step 4: Delete the WordPress Database

WordPress stores all your posts, pages, users, and settings in a MySQL database. To fully delete WordPress, you must remove this too.

  • In cPanel, go to MySQL Databases under the “Databases” section.
  • Find the database associated with your WordPress site (check wp-config.php if unsure—it lists the DB name).
  • Click Delete Database and confirm.

Warning: This action is irreversible. Make sure you’ve backed up any important data first.

Step 5: Remove Database User (Optional)

For a complete cleanup, you can also delete the MySQL user linked to the database. In the same MySQL Databases section, scroll down to “Current Users,” find the user, and click Delete User.

Method 2: Delete WordPress Using FTP

If you can’t access your hosting control panel, or if your host doesn’t use cPanel, you can delete WordPress files using an FTP client like FileZilla.

Step 1: Connect to Your Server via FTP

Download and install FileZilla (free and reliable). Open it and enter your FTP credentials:

  • Host: Your domain name or server IP (e.g., ftp.yoursite.com)
  • Username: Your FTP username (from hosting account)
  • Password: Your FTP password
  • Port: Usually 21

Click Quickconnect to log in.

Step 2: Navigate to Your Website Root

In the right-hand panel (remote site), go to the folder where WordPress is installed—usually public_html or a subfolder like public_html/blog.

Step 3: Delete All WordPress Files and Folders

Select all files and folders (Ctrl+A or Cmd+A), right-click, and choose Delete. Confirm the action.

Note: Some files may be in use and can’t be deleted immediately. Try again later or restart your FTP session.

Step 4: Delete the Database via phpMyAdmin

Since FTP can’t remove databases, you’ll need to access phpMyAdmin through your hosting control panel (if available) or a direct link like yoursite.com/phpmyadmin.

  • Log in with your MySQL credentials.
  • Select your WordPress database from the left sidebar.
  • Click Drop and confirm to delete it permanently.

Method 3: Use a WordPress Reset Plugin (Partial Deletion)

If you don’t want to delete WordPress entirely but just want to wipe all content (posts, pages, users, etc.), consider using a reset plugin. This is great for developers or testers who want a fresh start without reinstalling.

One popular tool is the WP Reset plugin, which safely clears your database while keeping your theme, plugins, and settings intact.

How to Use WP Reset

  • Install and activate the WP Reset plugin from the WordPress repository.
  • Go to Tools > WP Reset in your dashboard.
  • Scroll down to the “Reset” section and type reset in the confirmation field.
  • Click Reset WordPress.

This will delete all content but leave your installation functional—perfect for starting over quickly.

What About Themes and Plugins?

When you delete WordPress, all themes and plugins are removed along with the core files. However, if you only want to remove a theme without deleting the entire site, check out our guide on how to delete a theme in WordPress.

Similarly, if you’re troubleshooting or cleaning up before deletion, you might want to deactivate a theme first to avoid conflicts.

Troubleshooting Common Issues

“File in Use” Error When Deleting

If you get an error saying a file is in use, try:

  • Refreshing the File Manager or FTP connection.
  • Waiting a few minutes and trying again.
  • Contacting your host to restart the server (if on shared hosting).

Can’t Access cPanel or FTP?

If you’ve lost login details:

  • Use the “Forgot Password” link on your hosting login page.
  • Contact your hosting support—they can reset access or delete the site for you.

Database Not Deleting?

Some hosts restrict database deletion via cPanel. In that case:

  • Use phpMyAdmin to drop the database manually.
  • Or ask your host to remove it from their end.

Final Tips Before You Delete

  • Back up everything: Use a plugin like UpdraftPlus or your host’s backup tool to save your site before deletion.
  • Download important files: Save custom themes, plugins, or media you might reuse.
  • Update your domain: If you’re not using the domain anymore, point it to a new host or park it.
  • Cancel hosting if needed: If this was your only site, consider canceling your hosting plan to avoid future charges.

Conclusion

Deleting WordPress doesn’t have to be complicated. Whether you’re using cPanel, FTP, or a reset plugin, the key is to remove both the files and the database to ensure a complete cleanup. Always back up your data first, and double-check that everything is gone—especially if you’re concerned about security or reusing the domain.

Now that you know how to delete WordPress safely and thoroughly, you can move on to your next project with confidence. If you’re rebuilding, check out our guide on whether WordPress is easy to install—you might decide to come back!