cPanel has made easy for you to install WordPress. In cPanel, you can install WordPress by just clicking a button. No need to create a database like when you are installing WordPress manually. Similarly, you can also effortlessly uninstall WordPress via cPanel. In cPanel, you can uninstall WordPress by clicking a button as well. No need to manually delete the WordPress files and database.
There are some reasons why you want to uninstall WordPress. Probably, you forgot the login password and have no idea what to do to get it back so you decide to start fresh instead. Or, your website might have been attacked that cause you lost control over your website. Whatever your reason, here is how to uninstall WordPress via cPanel.
cPanel itself comes with an app installer called Softaculous. You can both install and uninstall WordPress via this feature. On your cPanel main dashboard, go to the SOFTWARE section and click Softtacolous App Installer.
On the next page, Softacolous shows you how many apps you have installed on your web hosting on the Installations tab. Click on this tab.
On the next page, decide the domain you want to remove WordPress from and click the remove icon.
If you have several apps installed on your web hosting and want to remove some apps at once, you can tick the checkbox on each app (leftmost). Once done selecting, select Remove Completely from the dropdown menu and click the Go button.
A little tip. If you want to uninstall your WordPress due to a hacker attack, you can export your WordPress content first. But, you can only do this only if you still be able to login to the WordPress dashboard. You can export your WordPress content by going to Tools -> Export. In a case when your WordPress site is being attacked, you should not backup your WordPress files. It is because the attacker might have installed a backdoor script to one of the WordPress files. If you find a suspicious file on the root directory of your WordPress installation, don’t wait to delete it.