Skip to content

How to Delete WordPress Site

This guide walks you through how to delete a WordPress site permanently, whether you’re using shared hosting, managed WordPress hosting, or a local server. You’ll learn how to back up data, remove files, delete the database, and clean up your hosting account to avoid future charges.

Key Takeaways

  • Back up your site first: Always save your content, themes, plugins, and database before deleting anything.
  • Delete files via FTP or file manager: Remove all WordPress files from your hosting server to erase the front-end.
  • Remove the database completely: Use phpMyAdmin or your hosting panel to delete the MySQL database and user.
  • Cancel hosting and domain services: Prevent future billing by terminating your hosting plan and domain registration.
  • Use WP Reset for local or test sites: For non-live sites, plugins like WP Reset can wipe content quickly and safely.
  • Double-check before confirming deletion: Once deleted, recovery is nearly impossible—verify everything twice.
  • Know your hosting type: Managed hosts like WP Engine have custom tools; shared hosts use cPanel or similar interfaces.

Why You Might Want to Delete Your WordPress Site

There are many reasons you might decide it’s time to delete your WordPress site. Maybe you’re switching platforms, the project is complete, or you no longer need the site. Perhaps you’re cleaning up old test sites or avoiding monthly hosting fees. Whatever your reason, it’s important to delete your site properly—not just let it sit idle.

Leaving a WordPress site online without maintenance can lead to security risks, outdated plugins, and potential hacking. Plus, you’re still paying for hosting and possibly a domain name. Deleting your site completely ensures you’re not wasting money or exposing yourself to vulnerabilities.

In this guide, you’ll learn exactly how to delete a WordPress site from start to finish—safely, thoroughly, and without leaving traces behind.

Step 1: Back Up Your WordPress Site

Before you delete anything, always back up your site. Even if you don’t plan to reuse the content, backups protect you in case you change your mind or accidentally delete something important.

What to Back Up

  • WordPress files: Includes themes, plugins, uploads, and core files.
  • Database: Contains all your posts, pages, comments, settings, and user data.
  • Custom configurations: Such as .htaccess rules or custom code snippets.

How to Back Up

You can back up your site using a plugin like UpdraftPlus or All-in-One WP Migration. These tools let you download a full copy of your site to your computer or cloud storage.

Alternatively, use your hosting provider’s backup tool. Most hosts offer one-click backups in their control panel (like cPanel or Plesk). If you’re using managed WordPress hosting (e.g., WP Engine, Kinsta), check their dashboard for built-in backup options.

Pro tip: Store your backup in at least two places—like Google Drive and an external hard drive—for extra safety.

Step 2: Delete WordPress Files from Your Server

Once your backup is secure, it’s time to remove the WordPress files from your hosting server. This step erases the visible part of your site.

Using FTP (File Transfer Protocol)

FTP is a reliable way to access and delete files. You’ll need an FTP client like FileZilla (free) and your FTP login details from your host.

  1. Open your FTP client and connect to your server using your hostname, username, and password.
  2. Navigate to the root directory where WordPress is installed (often public_html or a subfolder like yourdomain.com).
  3. Select all files and folders—including wp-admin, wp-content, wp-includes, and configuration files like wp-config.php.
  4. Right-click and choose “Delete” or drag them to the trash.

Note: Be careful not to delete other websites or files if your hosting account hosts multiple sites.

Using Your Hosting File Manager

Most hosts provide a web-based file manager in their control panel (like cPanel). This method doesn’t require additional software.

  1. Log in to your hosting account and open the file manager.
  2. Go to the WordPress installation folder (usually public_html).
  3. Select all WordPress files and folders.
  4. Click “Delete” and confirm.

This method is simpler for beginners but may be slower for large sites.

Step 3: Delete the WordPress Database

Even after deleting files, your site’s content remains in the MySQL database. To fully delete your WordPress site, you must remove this database too.

Accessing phpMyAdmin

phpMyAdmin is a tool included with most hosting plans for managing databases.

  1. Log in to your hosting control panel (e.g., cPanel).
  2. Find and click on “phpMyAdmin” under the Databases section.
  3. Select the database associated with your WordPress site (usually named something like wp_yoursite or found in your wp-config.php file).
  4. Click “Drop” and confirm when prompted.

Warning: Dropping a database permanently deletes all data. Double-check you’ve selected the correct one.

Deleting the Database User (Optional but Recommended)

For complete cleanup, also remove the database user linked to your WordPress site.

  1. In cPanel, go to “MySQL Databases.”
  2. Scroll down to “Current Users” and find the user tied to your WordPress database.
  3. Click “Delete User” and confirm.

This prevents unauthorized access and keeps your hosting account tidy.

Step 4: Remove Domain and Cancel Hosting

After deleting files and the database, your site is technically gone—but you may still be paying for hosting and domain services.

Cancel Your Hosting Plan

Log in to your hosting provider’s billing portal and cancel your subscription. Some hosts allow you to pause service, but full cancellation stops future charges.

If you’re on a monthly plan, you can usually cancel immediately. Annual plans may require waiting until the term ends, unless your host offers prorated refunds.

Let Your Domain Expire or Transfer It

Your domain name (e.g., yoursite.com) is separate from hosting. If you don’t need it, let it expire. Otherwise, transfer it to another registrar or use it for a new project.

To release the domain, log in to your domain registrar (like GoDaddy, Namecheap, or Google Domains) and either cancel auto-renewal or initiate a transfer.

Tip: If you plan to reuse the domain later, keep it registered but point it to a new host.

Alternative: Use WP Reset for Local or Test Sites

If you’re deleting a local WordPress site (like one running on XAMPP or Local by Flywheel) or a test site you no longer need, you can use a plugin to wipe it clean quickly.

The WP Reset plugin lets you reset your site to its default state—removing all content, themes, plugins, and settings—without touching core files.

  1. Install and activate WP Reset from the WordPress plugin directory.
  2. Go to Tools > WP Reset in your dashboard.
  3. Type “reset” in the confirmation box and click “Reset WordPress.”

This is ideal for developers or testers who frequently rebuild sites. For production sites, however, manual deletion via hosting is safer and more thorough.

For more on managing themes before deletion, check out our guide on how to delete a theme in WordPress.

Troubleshooting Common Issues

Deleting a WordPress site is usually straightforward, but you might run into a few hiccups.

“Permission Denied” When Deleting Files

If FTP or your file manager says “permission denied,” your files may be locked. Try changing file permissions to 755 (folders) and 644 (files) before deleting. Or contact your host for assistance.

Can’t Find the Database in phpMyAdmin

Some hosts prefix database names with your username (e.g., youruser_wpdb). Check your wp-config.php file for the exact database name under DB_NAME.

Site Still Accessible After Deletion

If your site still loads after deleting files, it might be cached. Clear your browser cache, CDN cache (like Cloudflare), and any server-side caching. Also, wait a few minutes—DNS changes can take time to propagate.

Accidentally Deleted the Wrong Site

If you deleted the wrong WordPress installation, restore it immediately from your backup. Most hosts also keep automatic backups for 7–30 days—contact support to recover your site.

Final Thoughts

Deleting a WordPress site doesn’t have to be scary. With the right steps—backing up, removing files, deleting the database, and canceling services—you can shut down your site cleanly and securely.

Remember: once deleted, recovery is nearly impossible. Take your time, double-check each step, and keep that backup handy just in case.

Whether you’re moving on to a new platform, ending a project, or simply cutting costs, knowing how to delete a WordPress site properly gives you full control over your digital footprint.