How to Permanently Delete Your WordPress Website (and Why You’d Want to)

Last Updated on March 20, 2023 by 15 Comments

Editorial Note: We may earn a commission when you visit links on our website.
How to Permanently Delete Your WordPress Website (and Why You’d Want to)
Blog / Resources / How to Permanently Delete Your WordPress Website (and Why You’d Want to)

Whether your business has closed, or you’ve started a new website from scratch, there are many cases where you might want to delete your WordPress website. While it’s relatively simple to achieve, removing it promptly and permanently from the internet requires some additional steps.

This post will tell you how to properly ensure that your self-hosted WordPress website is completely deleted. We’ll cover how to back up you site, delete your files, and remove your website from search engine results. However, before that, let’s look at why you would want to delete your site in the first place.

Why You Would Want to Permanently Delete Your WordPress Website

Permanently deleting your website means just what you think. It involves completely removing your content from the internet, and making sure your site is not accessible from any outlet. It may be that your business is closing down or merging with another, you’re moving your website to a different domain or starting anew, or it could even be an abandoned personal project.

Deleting your website files will mean that the site will be shut down, but removing it completely from the internet is a different story. There could be a wait between shutting down and search engines realizing that your site is inactive. Also, your webpages may be stored elsewhere, such as archive site the Wayback Machine – so if you don’t want a permanent trace to remain, this issue needs to be addressed too.

Don’t worry if it’s starting to sound complicated, we’ll cover all of these points in the next section.

How to Permanently Delete Your WordPress Website (in 3 Steps)

If you’re deleting your site, you’re no doubt looking for a quick and painless way to do it. Thankfully, it doesn’t involve a lot of work, and won’t take up a lot of your time. Here’s how to permanently delete your website in three steps.

Step #1: Back Up Your Website

Before doing something as drastic as deleting your website, it’s always prudent to create a backup. No matter how sure you are right now, you may need to migrate your site to another server or access it in the future – even if it’s just as source of reference. Although there are a lot of great WordPress backup plugins available, our recommendation is UpdraftPlus.


UpdraftPlus title image from

With over 900,000 active installs, UpdraftPlus is one of the most popular WordPress plugins available. It can be used to back up, restore, or migrate your website, and offers multiple storage options such as Dropbox and Google Drive. There’s also a premium version, which offers additional features including a few more storage options.

Key Features:

  • Offers quick restoration for files and database.
  • Provides automatic scheduled backups.

Price: FREE | More information

For full instructions on how to use UpdraftPlus you can check out our in-depth tutorial. However, once you’ve backed up your site, you can start the process of removing it.

Step #2: Delete Your Website’s Files With an FTP Client

While some self-hosted WordPress users can delete their files through their host’s cPanel, others don’t have that option. The simple solution method is to remove your site via a File Transfer Protocol (FTP) client. The one we recommend is FileZilla. If you’re new to using FTP, it’s worth getting up to speed with a good tutorial before moving ahead.

Once you’ve logged in using the credentials found in your hosting account, locate the domain you want to delete and simply select all of the folders and files associated with it:

FTP client interface with all files and folders selected

Then right-click, select Delete, and confirm:

FTP client interface showing the Delete button selected

While this step is super simple, ensuring that your site is completely removed from the internet is a little more complex.

Step #3: Delete Your WordPress Database via cPanel

Although deleting your website files will effectively shut down your site, your database will still exist – and this could potentially leave you with security vulnerabilities. The simplest way to delete your database is via cPanel, and each host varies in its implementation – although the basic functionality is the same.

Firstly, log into your host and navigate to your cPanel:

Bluehost menu with cpanel highlighted

Once there, scroll down to the Database Tools section, and click on the MySQL Databases button:

Database Tools section with MySQL Databases highlighted.

Here you’ll find a list of your databases – you’ll simply need to select Delete for the relevant database:

Current Databases section

Finally, double-check you’ve selected the correct database, and confirm your selection by clicking Delete Database:

Confirmation screen with Delete Database highlighted

You’ll also need to delete any existing users. Back in the MySQL Databases section, navigate to Current Users, and click Delete on each user.

If your host doesn’t give you access to cPanel (which would be unusual) or any other means of easily accessing your database, your next best solution is probably to contact them and request that they delete your database for you. Once you’ve carried out this step, your WordPress website is fully deleted!

Step #4: Remove Your Content from Search Engines

Even though you’ve deleted your website, search engines may continue to display your web pages in search results. Crawlers (also referred to as spiders, robots, or bots) from search engines such as Google and Bing access websites periodically and index their content. Once you’ve removed your site, it will take some time for the crawlers to communicate to the search engine that it no longer exists.

While search engines will eventually stop indexing your pages, there are various actions you can take speed up the process – Google also offers their own advice. Here are two ways to communicate to search engines that you no longer want your pages indexed.

1. Submit a Removal Request

A removal request involves asking a specific search engine to remove your web pages from their search results. For Google you can request the removal of specific web pages using its dedicated tool. Simply enter the URL of the page you wish to remove, and hit the Request Removal button:

The Google Remove Outdated Content tool interface

Of course, you’ll need to ensure that you have the correct URL according to their guidelines. If Google doesn’t remove the page, you’ll need to do some troubleshooting to find out why.

Similarly, Bing has a tool that enables you to request the removal of individual pages so they no longer appear in their search results. However, you do have to be logged into a Microsoft account to use this feature:

The Bing Content Removal Tool interface

Finally, another site that could be listing your pages could is the Wayback Machine, which crawls and stores old websites. This archive currently houses over 279 billion webpages:

The Wayback Machine homepage

If you find your pages on the Wayback Machine and would prefer to have them removed, you can submit a removal request by emailing the company directly.

2. Set up a .htaccess File Redirect

Another way to tell search engines your site is no longer running is to set up a redirect in your .htaccess file. This is simply a WordPress configuration file that can alter the behavior of your server.

You can edit your .htaccess file a number of ways, including via your FTP client. The file should be in your root folder, which may be called public_html or www:

The FTP client interface with the root folder and htaccess file highlighted

To set up a redirect, open the file and add the following line:

Header set X-Robots-Tag "noindex, nofollow"

Code snippet source: Yoast.

This header tag will apply to all pages of your website, and as a result will prevent search engines from indexing your site.


Deleting your WordPress website files is simple to execute either via your host’s cPanel or an FTP client. However, if your want to delete your website promptly and completely from the internet, there are some additional actions you should take.

In this article, we’ve talked about the best practices for permanently deleting your WordPress website. Let’s recap them quickly:

  1. Back up your website.
  2. Delete your website’s files using an FTP client.
  3. Remove your content from search engines, either by manually requesting their removal, or via a .htaccess redirect.

Do you have any tips for permanently deleting a WordPress website? Let us know in the comments section below and don’t forget to subscribe so you can follow the conversation!

Article thumbnail image by sumkin /


Want To Build Better WordPress Websites? Start Here! 👇

Take the first step towards a better website.

Get Started
Premade Layouts

Check Out These Related Posts

WordPress vs Medium (2023) — Where Should You Blog?

WordPress vs Medium (2023) — Where Should You Blog?

Updated on May 29, 2023 in Resources

If there is one question that goes back to the very beginning of blogging, it’s “what blogging platform should I use?” Everyone asks this question (to Google, most likely), and everyone gets bombarded with a thousand different answers. That’s primarily because there are so...

View Full Post
9 Non-Profit Child Themes for Divi

9 Non-Profit Child Themes for Divi

Updated on January 23, 2023 in Resources

There are lots of nonprofit organizations across the globe. Just about every one of them needs a well-designed website to tell their story and receive donations to help their causes. Divi is an excellent theme for nonprofits such as charities. Fortunately, you don’t have to start from scratch for...

View Full Post


  1. I will be following these steps to remove a client’s website until they are ready to launch their business. Their website is still currently under development with a maintenance plugin enabled. It is not in my best interest to continue doing any work for a client that is not paying me a dime right now. Hopefully these steps is all I need for remove and then restore the site later.

    Otherwise please advise.

    Thank you

  2. Thank you to everyone who pointed out here in the comments that removal of the database is a step that one should at the very least consider taking as part of this process. We’ve now added the necessary information to the article 🙂

  3. Very good in case you’ve played a little too much with Black Hat Seo 😉

  4. More and more hosters offer Softaculous interface for various purpose wich is script based.
    If I remind correctly, you have the opportunity to remove a WordPress installation completly from there.
    Great article.
    I didnt know about the webmaster tool request
    Thanks John.

  5. The link to the Google tool to remove web pages from the search engine is wrong, it leads to the process to delete a Gmail account.

  6. Don’t forget the database. Make a backup of it first and then delete.

  7. Rule #1 of the world wide web.

    …nothing can be permanently deleted. In fact, the mind set should be that any information you put online will exist forever. That said, there are specific steps you can take to bury information so that it is not easily accessible.

  8. I have only had to delete a couple but I have de-installed the site and then deleted the directory on the server.

  9. If you really want to remove your complete site, don’t forget to remove the database as well.
    Database name can be found in your wp-config.php file and removal can be done either via your cPanel or request your hosting company to remove it for you.

  10. If you really want to make clean house you should delete the database too. No effect on the internet presence but makes all nice and tidy.

  11. This article is missing one major step and that is removing the database. For that MySQL access is needed or access to a cPanel / DirectAdmin. Else textual content and settings would still be floating around in some forgotten database.

    • Yikes! Nice Joseph, thanks 🙂

  12. Traces of old WordPress sites can lead to backdoors for hackers if not properly taken care of… It’s a great idea to completely remove the install from the server! Great article

  13. don’t forget to delete the database.

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Get Started With Divi