Setup & site building · Guide
How to Delete a WordPress Site Completely

Short answer
To delete a WordPress site completely, first back up the site and export your content. On WordPress.com, open the Hosting Dashboard, go to Settings, scroll to Delete site, type your full site address and confirm. On a self-hosted site, delete every WordPress file from your hosting account and drop the database in phpMyAdmin or your control panel, then cancel the hosting plan or domain if you no longer need it.
Key takeaways
- Deleting a WordPress.com site permanently removes it and all its content, and its address can never be reused.
- A WordPress.com site can be restored within 30 days; after that, the data and the address are gone for good.
- A self-hosted site has no delete button: you must remove its files and drop its database yourself.
- An export file holds posts, pages and comments, but not your theme, plugins or image files.
- Deleting a site does not close your WordPress.com account or cancel a domain, which keeps renewing until you cancel it.
How do you delete a WordPress site completely?
On WordPress.com, delete the site from Settings; on a self-hosted site, delete the files and the database from your hosting account.
The steps depend on where your site lives, and following the wrong ones wastes time or deletes the wrong thing. If you log in at wordpress.com and pay them directly, you are on WordPress.com.
If you log in at your own domain and pay a hosting company, you are self-hosted. WordPress.com's delete a site support page states that deleting a WordPress.com site permanently removes it and all its content, and its address cannot be reused.
Deleting a site is permanent, so treat the backup steps below as part of the job, not an optional extra. A deleted site cannot be rebuilt from memory, and its address may be gone for good.
What should you do before you delete anything?
Back up the site, export your content, and cancel or move anything tied to the address.
Start with a full backup of files and database. The guide to backing up WordPress covers the options.
The guide to backing up a WordPress database covers the database half on its own. Store the backup away from the hosting account you are about to empty.
Then export your content. On WordPress.com, go to Tools, then Export, choose “All content”, and click “Download Export File”. WordPress.com's export guide states that this usually takes 1 to 2 minutes for most sites, and that the file holds posts, pages and comments as an XML file.
Note what the export leaves out. It holds your written content and links to your images, but not your theme, design changes, plugins or the image files themselves. WordPress.com's export guide states this plainly, so take a separate copy of your media library if the images matter to you.
Check for active purchases before you delete. WordPress.com's delete a site page says to remove plans, domains and email subscriptions first, and that the deletion flow will prompt you to do this anyway. A domain keeps renewing until you cancel it, even after the site is gone.
How do you delete a WordPress.com site?
Go to your Hosting Dashboard, open the site, go to Settings, scroll to Delete site, type your full site address, and click Delete Site.
Follow these steps, from WordPress.com's delete a site support page:
- Visit your Hosting Dashboard.
- Click the title of the site you want to delete.
- In the left sidebar, select Settings.
- Scroll to the “Delete site” section at the bottom and click Delete.
- If you have active purchases, remove all paid subscriptions first when prompted.
- Type your full site address into the text box to confirm you picked the right site.
- Click Delete Site.
Typing the address is a deliberate safety step, not a formality. It forces you to confirm the exact site, which matters if your account holds several sites with similar names. Once deleted, anyone who visits your site will see a message stating that it has been deleted by the author.
Support cannot delete a site for you. WordPress.com's delete a site page states that if you cannot log in, you must follow the account recovery guide first, then delete the site yourself from its settings.
Deleting the site does not close your WordPress.com account. Your account, username and any domains you registered stay active, as WordPress.com's delete a site page states. Close the account separately if you want it gone too.
How do you delete a self-hosted WordPress site?
Delete every WordPress file from your hosting account, then delete the database, since files alone leave your content behind.
Self-hosted WordPress has no delete button in the dashboard. You remove the site in two parts: the files on the server and the database that holds your content and settings. Hostinger's [delete a WordPress site](https://www.hostinger.
com/in/tutorials/?p=705) tutorial describes the same two parts: remove the files with a File Manager or FTP client, then delete the database with phpMyAdmin.
First, delete the files. Log in to your hosting account and open the File Manager, or connect with an FTP client.
Go to the folder that holds the site, usually public_html, and delete the wp-admin, wp-content and wp-includes folders plus the WordPress files in the root, such as wp-config.php and index.php. If several sites share one account, delete only the folder for the site you mean to remove.
Check for files outside the main folder before you finish. Some sites keep uploads or backups in a folder above public_html, and a staging copy may sit in a subdomain folder. The guide to backing up a WordPress site helps you confirm what a full copy of your site should hold.
If your host offers a one-click uninstaller, such as the WordPress uninstaller in cPanel, that tool can remove the files for you. It does the same job as manual deletion, so use whichever route your host provides.
How do you delete the database?
Open phpMyAdmin, select the database, open the Operations tab, and click Drop the database, or delete it from your hosting control panel.
Find the database name first. It sits in wp-config.php in the site's root folder, so open that file before you delete it and note the name. Deleting the wrong database can remove a different site on the same account, so match the name exactly.
In phpMyAdmin, click the database name in the left sidebar, open the Operations tab, scroll to the Remove database section, and click “Drop the database (DROP)”. ScalaHosting's delete a MySQL database guide gives these steps, and notes that phpMyAdmin shows the DROP DATABASE query and asks you to confirm before it runs.
Some hosts disable database deletion inside phpMyAdmin. In that case, use your control panel's database tool instead: in cPanel, open MySQL Databases, find the database in the list, and choose Delete. ScalaHosting's delete a MySQL database guide notes this fallback and warns that some hosts require the control panel route.
Deleting the files does not remove the database, and deleting the database does not remove the files. Both halves must go before the site is fully gone. Your content, settings and user accounts all live in the database, so dropping it is the step that erases them.
| What you remove | WordPress.com | Self-hosted WordPress |
|---|---|---|
| How to start | Hosting Dashboard, then Settings | Hosting account File Manager or FTP |
| Files | Removed by WordPress.com | Delete wp-admin, wp-content, wp-includes and root files |
| Database | Removed by WordPress.com | Drop it in phpMyAdmin or the control panel |
| Confirmation | Type the full site address | Confirm the DROP DATABASE prompt |
| Undo window | Restore within 30 days | Only from your own backup |
| Account | Stays open | Hosting account stays open |
What else should you clean up?
Cancel the hosting plan or domain if you no longer need them, and remove any DNS records that point at the deleted site.
A deleted site leaves loose ends that cost money or confuse visitors. Cancel the hosting plan if the account held only that site, or the plan keeps billing you. Cancel or transfer the domain if you no longer want it, and remember that a custom domain keeps renewing until you cancel it.
Check DNS records for the domain. Records that point at the old host can send visitors to an error page or, worse, to a new site that later takes the same address. Your host or registrar can remove records you no longer need.
Remove the site from any tools that track it. That includes search console accounts, analytics, uptime monitors and backup services that still watch the address. The guide to migrating WordPress manually covers the same file and database pieces from the other direction, which helps you confirm nothing is left behind.
Can you get a deleted site back?
A WordPress.com site can be restored within 30 days; a self-hosted site can only come back from a backup you took first.
WordPress.com keeps deleted sites for 30 days. To restore one, open your Hosting Dashboard, use the Filter icon, choose “Deleted sites” and select Show, then click the three-dot icon next to the site and choose “Restore site”. WordPress.com's [delete a site](https://wordpr
ess.com/support/delete-site/) page states that the site returns after a few seconds, and that after 30 days the data and the address are gone for good.
A self-hosted site has no such window. Once the files and database are gone, only your own backup can bring it back. The guide to restoring a backup with UpdraftPlus covers one common restore route, but any restore needs the backup file to exist first.
Multisite networks have their own delete route. The WP-CLI command wp site delete removes one site from a multisite network, with options such as --slug to pick the site, --yes to skip the confirmation, and --keep-tables to leave its database tables in place.
WordPress's developer docs list these options on the wp site delete command page.
What are the alternatives to deleting?
Make the site private, reset it for a fresh start, or transfer it instead of deleting it.
WordPress.com's delete a site page lists five less permanent options: make the site private so only you can see it, cancel your purchases to return to a free site, change the site's address, reset the site for a fresh start while keeping the same address, or transfer the site to another WordPress.com account.
Making the site private suits a site you may want later. It hides the content from visitors while keeping everything in place, and you can make it public again in a minute. Resetting suits a site you want to rebuild: it wipes the
content but keeps the address, so you start clean without losing the name.
Transferring suits a site someone else should own. Handing it to another account keeps the content and address alive under new ownership, which beats deleting work another person still wants. The guide to what WordPress is explains the difference between the hosted and self-hosted versions that decides which of these options you have.
What mistakes should you avoid?
Do not delete before backing up, do not guess which database is yours, and do not assume deletion cancels your bills.
These mistakes cause most deletion regrets:
- Deleting the files first and losing the database name stored in
wp-config.phpbefore you note it. - Dropping the wrong database on an account that hosts several sites.
- Skipping the export, then finding the backup you took does not include the media files.
- Deleting a WordPress.com site while a paid plan is still active, and paying for a site that no longer exists.
- Deleting the site when making it private or resetting it would have done the job.
- Forgetting the 30-day restore window on WordPress.com, and asking for the site back after the data is gone.
Confirm the site address twice before you type it into the delete confirmation. Check the backup file opens on your own computer before you delete anything. If you feel unsure at any step, stop and make the site private instead: you can always delete it later, but you cannot always bring it back.
Frequently asked questions
Can I undo deleting my WordPress site?
On WordPress.com, yes, within 30 days: open the Hosting Dashboard, filter for Deleted sites, and choose Restore site. After 30 days the data is gone for good. On a self-hosted site there is no undo window at all, so only a backup taken before deletion can bring the site back. Take the backup first, every time.
What happens to my domain when I delete my site?
Nothing happens to the domain on its own. It stays registered to you and keeps renewing until you cancel or transfer it, even after the site is gone. If you want to use the domain elsewhere, transfer it to another registrar or point it at a new site. Cancel it only if you are sure you will not need it again.
How do I delete just one site on a multisite network?
Use the WP-CLI command wp site delete with the site ID or the slug option, and confirm when asked. The command removes that one site from the network while leaving the others alone. Add the keep-tables option if you want to delete the site from the list but leave its database tables in place.
Should I delete my site or make it private?
Make it private if you may want the site later, since hiding it takes a minute and deleting it is permanent. Reset the site if you want a fresh start at the same address. Delete it only when you are sure the content, the address and the account ties are all finished, and only after a backup and an export.
Why can WordPress.com support not delete my site for me?
Support cannot delete a site on your behalf, because deletion is permanent and must come from the site owner. If you cannot log in, follow the account recovery guide to regain access first, then delete the site yourself from its settings. This protects sites from being deleted by anyone other than their owner.
Sources
- Delete a WordPress.com website WordPress.com Support
- Export WordPress Content WordPress.com Support
- wp site delete WordPress Developer Resources
- How to Delete a MySQL Database ScalaHosting
- How to delete a WordPress site (WordPress.com vs .org) Hostinger
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


