What happens when you delete a WordPress site
Deleting a WordPress site removes all your posts, pages, comments, settings, and user accounts from the server. The site disappears from the internet and visitors see an error page instead. This is permanent — you cannot recover the content afterward unless you have a backup saved somewhere else.
The process differs depending on whether you use WordPress.com (the hosted version) or WordPress.org (the self-hosted version you install yourself). Each one has its own deletion steps, and the time it takes varies. Some hosts delete the site immediately; others take a few hours.
Before you delete anything, download a backup of your site if there is any content you might need later. Most hosts offer a one-click backup option in their control panel, or you can use a backup plugin if you have time.
Key Takeaways
- WordPress.com sites delete from your account settings, while self-hosted sites require you to delete files through your hosting control panel or file manager.
- Deleting a WordPress site is permanent and cannot be undone without a backup, so save your content first if you think you might need it later.
- Your domain name does not automatically delete when you delete the WordPress site — you must cancel the domain registration separately if you no longer want it.
- Self-hosted sites require you to delete the database, all files in the public_html folder, and any associated email accounts through your hosting provider.
How to delete a WordPress.com site
Log into your WordPress.com account and go to your Sites dashboard. Click the site you want to delete, then select Settings from the left menu. Scroll to the bottom of the Settings page until you see a section labeled "Danger Zone" or "Delete Site." Click the delete button there.
WordPress.com will ask you to confirm the deletion by typing the site name or a confirmation phrase. This step prevents accidental deletion. Type exactly what it asks for, then click the final delete button. The site disappears within a few minutes.
Your WordPress.com account itself remains active after you delete the site. You can create new sites with the same account later if you change your mind. Only the specific site and its content are removed.
How to delete a self-hosted WordPress site
Self-hosted WordPress sites live on a web server you rent from a hosting company. Deleting one requires you to remove the files and database through your hosting control panel. Log into your hosting account — most providers use cPanel, Plesk, or a custom dashboard.
Find the File Manager or Files section in your control panel. Open the public_html folder (or the folder where your WordPress files are stored). Select all files and folders inside it and delete them. This removes your WordPress installation and all your site files from the server.
Next, delete the database. In your hosting control panel, find the MySQL Databases or Databases section. Locate the database your WordPress site used — it usually has a name like "wordpress_db" or includes your site name. Click delete and confirm. This removes all your posts, pages, comments, and settings.
If you created email accounts specifically for your site, delete those too in the Email Accounts section of your control panel. They will stop working once the site is gone, so removing them prevents confusion later.
What to do with your domain name
Deleting your WordPress site does not automatically cancel your domain name. The domain registration is separate from the website itself. If you no longer want the domain, you must cancel the registration through your domain registrar — the company where you bought it.
Find your domain registrar by checking your hosting account or looking at your domain registration receipt. Log into the registrar's website, find your domain in your account, and look for a cancel or delete option. Some registrars charge a fee to cancel early; others let you let it expire naturally without renewing.
If you want to keep the domain but do not want the WordPress site, you can leave the domain registered and simply point it elsewhere later, or let it sit unused. The domain will not affect anything once the WordPress files are deleted.
Backing up your site before deletion
If you use WordPress.com, go to Settings and look for a section called Export or Download Your Content. Click it and select what you want to save — usually all posts and pages. WordPress.com sends you a file you can download and keep on your computer.
For self-hosted sites, use a backup plugin like UpdraftPlus or BackWPup. Install the plugin, configure it to save backups to your computer or cloud storage like Google Drive, and run a backup immediately. This creates a complete copy of your site that you can restore later if needed.
If your hosting company offers automatic backups, download one through your control panel before you delete anything. Most hosts keep backups for 30 days after deletion, but do not rely on that — save your own copy first.
Removing WordPress from search engines
After you delete your site, search engines like Google still have the old pages in their index. Visitors searching for your site name might see a cached version or an error page. You can speed up the removal by telling Google the site is gone.
Go to Google Search Console (search.google.com/search-console) and sign in with your Google account. Add your deleted site's URL if it is not already there. Click the three-dot menu and select "Remove URLs." Request removal of the entire site, and Google will prioritize deleting it from search results within a few days.
You can also add a 410 Gone status code to your domain if you still have access to the server. This tells search engines the site is permanently deleted. If you do not know how to do this, simply deleting the files is enough — Google will figure it out within a few weeks.
Troubleshooting deletion problems
If you cannot find the delete button in WordPress.com, make sure you are logged in as the site owner, not a contributor or editor. Only the account owner can delete a site. If you are the owner and still do not see the option, try a different web browser or clear your browser cache.
For self-hosted sites, if you cannot delete files through File Manager, your hosting account may not have permission to delete them. Contact your hosting provider's support team and ask them to delete the public_html folder contents and the associated database. Provide them with your account details and they will do it for you.
If you get an error message saying the database is locked or in use, wait a few minutes and try again. Sometimes WordPress is still running a background task. If the error continues, contact your host — they can force the database to close.
Frequently Asked Questions
Can I recover my site after I delete it?
Not from WordPress itself — deletion is permanent. However, if your hosting company keeps automatic backups, they may restore it for a fee within 30 days. Contact your host immediately if you deleted by mistake. If you saved your own backup before deletion, you can reinstall WordPress and import your content back in.
What happens to my domain name after I delete the site?
Your domain stays registered and active unless you cancel it separately. The domain will not point to anything once the site is deleted, so visitors see an error. You must cancel the domain registration through your registrar if you do not want to pay for it anymore.
Do I need to delete the database if I am deleting the files?
Yes. Deleting only the files leaves the database on your server taking up space and potentially creating security issues. Always delete both the files and the database when you delete a self-hosted WordPress site.
How long does it take for my site to disappear from Google?
Google usually removes deleted sites from search results within a few weeks on its own. You can speed this up to a few days by using Google Search Console to request removal. Until then, the cached version may still appear in search results.
Can I delete just one page or post instead of the whole site?
Yes. In WordPress, go to Pages or Posts, find the one you want to remove, and click Delete. This removes only that single page or post, not your entire site. The rest of your site stays live and unchanged.