WP Roundtable

How to Delete a WordPress Site: Complete Step-by-Step Guide

· By Martin Voss · Theme Development

Deleting a WordPress site is a straightforward process, but it requires careful steps to avoid data loss or unintended consequences. Whether you're closing a project, starting fresh, or managing multiple sites, knowing how to delete a WordPress site properly ensures you don't leave behind unnecessary files or incur ongoing costs.

Quick summary
  • Always back up your site before deletion to avoid data loss.
  • Deleting via hosting is often quicker than manual removal.
  • Understand the impact on your domain and hosting plan before proceeding.

This guide covers everything from backups to domain management, as well as common pitfalls to avoid. You'll learn both automated and manual deletion methods, depending on your hosting setup and needs.

Backup Your WordPress Site Before Deleting

Before deleting your WordPress site, create a backup to ensure you don’t lose critical data. Start by exporting your site’s content using WordPress tools. Go to Tools > Export in your WordPress dashboard and choose to export all content or specific content types like posts or pages. This generates an XML file containing your posts, pages, comments, and custom fields.

Next, save a copy of your database and files via your hosting control panel. Use tools like phpMyAdmin to export your database as an SQL file. For files, access your hosting file manager or FTP client to download the entire wp-content directory, which includes themes, plugins, and uploads. This process typically takes 5-15 minutes, depending on your site’s size.

Store backups securely on an external drive or cloud service like Google Drive or Dropbox. Consider using a plugin like UpdraftPlus for automated backups. For heavy content loads, ensure your backup method can handle large files efficiently (related reading).

Decide Whether to Delete or Deactivate Your Site

Deleting a WordPress site removes it permanently, while deactivating temporarily pauses it. Understand this difference before proceeding. Deleting is irreversible; all files, databases, and settings are erased. Deactivating, on the other hand, retains your site’s data but makes it inaccessible to visitors.

Consider whether you might need the site again in the future. If it’s a test site or one you’re unsure about, deactivation might be safer. Deleting is better for sites you’re certain you won’t revisit, such as outdated projects or failed experiments.

Evaluate the impact on your domain and hosting plan. Deleting a site doesn’t automatically cancel your domain registration or hosting subscription. Check with your hosting provider to avoid unexpected charges. For more on hosting considerations, refer to Wikipedia’s overview of web hosting services.

Steps to Delete a WordPress Site Via Hosting

Deleting a WordPress site through your hosting provider is often the quickest method. Start by logging into your hosting account’s control panel. Common panels include cPanel, Plesk, or custom dashboards from providers like SiteGround or Bluehost. Once logged in, locate the WordPress installation you want to remove. This is usually found under sections like Applications, Software, or Installations.

Most hosting panels offer a Delete or Remove option for installations. Clicking this will typically prompt you to confirm the deletion. Be cautious: this action is permanent and irreversible. Some providers may also ask if you want to delete associated databases or files—select yes unless you plan to reuse these resources. For further details on managing WordPress installations, visit WordPress.org.

How to Delete a WordPress Site Manually

If you prefer more control or your hosting panel lacks a deletion option, manual deletion is an alternative. Start by accessing your site’s files via FTP or your hosting provider’s file manager. Tools like FileZilla or Cyberduck are commonly used for FTP connections. Connect using your FTP credentials, which are usually found in your hosting account’s dashboard.

Once connected, navigate to the root directory of your WordPress installation, often named public_html or something similar. Delete the WordPress core files and directories, including wp-admin, wp-content, and wp-includes. Next, remove the associated database using phpMyAdmin or a similar tool. Locate the database in your hosting panel’s database section, and delete it to ensure no orphaned data remains. For guidance on database management, refer to our article on User Roles Most Developers Configure Wrong in WordPress Security.

What Happens to Your Domain After Deleting

Deleting a WordPress site doesn't automatically cancel your domain registration. The domain remains active until its expiration date unless you manually terminate it with your registrar. This means someone could still type the URL and see a blank page or hosting provider placeholder.

Options for your domain

  • Redirect it: Point the domain to a new site (takes 24-48 hours for DNS changes to propagate)
  • Let it expire: Registration typically lapses after 30-45 days of non-payment
  • Transfer it: Move to another registrar (requires unlocking the domain first)

Watch for hidden costs: Some registrars auto-renew domains unless disabled in advance. Check your control panel for any ICANN-mandated grace periods where you might still recover the domain.

Technical leftovers

DNS records (MX, CNAME) may persist after deletion. Email services using your domain could break if you don't migrate them first. Tools like our plugin conflict checklist won't help here - this requires registrar-level changes.

Common Mistakes When Deleting a WordPress Site

Most errors fall into three categories: technical oversights, data loss, and unintended consequences. The worst happen when rushing.

Technical oversights

  • Database tables often remain if you only delete files via FTP
  • Server cron jobs might still run (check your hosting control panel)
  • Backups in /wp-content/ get deleted if not stored externally

Data and SEO impact

Search engines keep cached pages for weeks. Broken links hurt both your old site's reputation and any new site that inherits the domain. For high-traffic sites, set up 301 redirects before deletion.

Plugins sometimes leave behind:

  • Custom tables (look for prefixes like wp_pluginname_)
  • Upload folders outside /wp-content/
  • Server-level rewrites in .htaccess

Edge Cases to Consider When Deleting

Deleting a WordPress site might seem straightforward, but certain scenarios require extra attention. Here are some edge cases to keep in mind.

Handling multisite installations differently

Multisite installations add complexity. If you delete a site within a multisite network, it only removes that specific site, not the entire network. However, if you’re deleting the entire network, ensure you follow the proper steps to avoid leaving orphaned data. Missteps can lead to broken links or inaccessible content across the network.

Managing sites with subscriptions or e-commerce functionality

Sites with subscriptions or e-commerce features need careful handling. Deleting such a site abruptly can disrupt user accounts, recurring payments, or order histories. Notify users in advance and ensure all financial transactions are settled. Some plugins or platforms may require additional steps to deactivate or migrate data before deletion.

Dealing with sites tied to third-party services

If your site integrates with third-party services like APIs, CRMs, or analytics tools, deleting it can have ripple effects. For instance, API calls might fail, or external systems could lose access to critical data. Review integrations and inform stakeholders to prevent disruptions. Some services may require manual disconnection or configuration changes.

Before deleting your WordPress site, double-check backups and domain settings. If you're unsure, temporarily deactivating the site lets you revisit the decision later without losing data. For ongoing projects, consider archiving instead of full deletion.

FAQ

Can I recover a deleted WordPress site?

Recovery depends on whether you have a backup. If you backed up files and the database before deletion, you can restore the site. Without a backup, recovery is usually impossible unless your host automatically creates backups (some do for a limited time).

Does deleting a WordPress site affect my hosting plan?

Deleting a site typically doesn't cancel your hosting plan unless it's the only site on the account. You may still be billed unless you explicitly downgrade or cancel. Check your hosting provider's terms to confirm.

How do I delete a WordPress site without losing my domain?

Domains are separate from site files. To keep your domain, ensure it's not set to auto-renew with the hosting plan. Transfer or point it elsewhere before deletion, or disconnect it via your domain registrar.

What’s the difference between deleting and uninstalling WordPress?

Deleting removes the entire site, including themes, plugins, and content. Uninstalling WordPress only removes core files, leaving the database and wp-content folder intact. Uninstalling is rare—most users delete the site entirely or reinstall WordPress cleanly.