How Do I Completely Delete a WordPress Site?

Deleting a WordPress site is a surprisingly complex process. First, you’ll need to identify the files and folders that make up your site.

Second, you’ll need to delete the files and folders in the correct order. Finally, you’ll need to reconfigure your hosting environment to remove any references to your site.

Identifying the Files and Folders

To delete a WordPress site, you first need to identify the files and folders that make up your site. The easiest way to do this is to use a site management tool like cPanel or Plesk.

To delete a file, you first need to identify the path to the file. For example, if you want to delete the file wp-content/uploads/2015/12/sample.jpg, you would use the following path:

cpanel:

/private/var/www/html/cpanel

Plesk:

/private/var/www/html/plesk

Once you have the path, you can use the file deletion commands available in your management tool.

Deleting the Files and Folders in the Correct Order

To delete the files and folders in the correct order, you’ll need to use the following path:

/private/var/www/html/

/private/var/www/html/wp-content

/private/var/www/html/wp-config.php

/private/var/www/html/wp-login.php

/private/var/www/html/wp-settings.php

After you have deleted the files and folders in the correct order, you will need to reconfigure your hosting environment to remove any references to your site.

Conclusion

Deleting a WordPress site can be a complex process, but with the help of a site management tool and the correct order of files and folders, it can be done.