Like any installation, a WordPress website will sometimes need to be removed. If you are hosting your website with Web Hosting Hub, you do have the option to use Softaculous to remove your WordPress installation, but only if you installed with that same application. The process to manually uninstall WordPress is not difficult, but you will need to have access either an FTP client or the Cpanel File Manager and the Cpanel MySQL database section. The following article will walk you through the process of manually removing a basic WordPress installation.
Before you begin any uninstall or deletion of files, make sure that you have made a backup of your website files in case there is a need to return to the previous state before any changes. For more information go to Creating a Website Backup in your Cpanel.
In order to start the uninstall process, you first need to know the name of the database and user associated to the WordPress installation. Go to How to Locate your WordPress Database Name in order to find the exact steps to determine your database name. When you find the database name, also look in the same file (the wp-config.php file) for the database username. It will be immediately below the database name and it will be labeled "MySQL database username". Once you have this information, record it for later reference and you can begin to delete the WordPress installation.
If your WordPress installation was in a specific folder (other than the PUBLIC_HTML), then removing the files would be easy. You simply have to delete the folder containing the WordPress installation files. However, if you need to separate the WordPress installation files from files that you cannot delete, then you will need to identify the WordPress installation files. WordPress.org provides a list and description of each file here: WordPress Files. It would be best to know the names of the folders (and/or files) that you do NOT wish to delete, instead of trying to pick out the many WordPress files that have been installed. Otherwise, you will need to compare the list of WordPress files with the directory of files that make up your WordPress installation.
Here are the steps for deleting the files using the Cpanel File Manager:
If you are not deleting all of the files in the installation folder due to another existing installation, then you may need to edit the .HTACCESS file to remove the standard WordPress entry into the .HTACCESS file. You can the find the .HTACCESS file in the root of your WordPress installation folder (Note: the .HTACCESS is a hidden file, so you will need to select SHOW HIDDEN FILES when entering the File Manager to be able to see the file listed in the File Manager). The entry starts with "# BEGIN WordPress" and end with "# END WordPress". Here are a summary of the steps to delete the entry:
That completes the manual uninstall process for WordPress. Remember that this does not remove any email addresses that may have been associated with the installation.
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!