If you’re reading this article, you are probably wondering how to uninstall WordPress from HostGator. You probably want to delete wordpress from your domain, not exactly delete WordPress on Hostgator. You’re doing it probably because you want to make your website using a different CMS like Drupal or Joomla or manual HTML from scratch. So if I got it right, then you’re on the right article. Well, how do you really uninstall WordPress from HostGator? Don’t worry, it’s not difficult, it will only take you around 5 minutes or less, seriously!
How to Uninstall WordPress From HostGator in 5 Simple Steps
Seven simple steps if you are planning to backup the website too. Anyway, here are the following steps to manually uninstall WordPress from HostGator. Here’s how you uninstall wordpress
STEP 1: Login Into cPanel
The first thing you need to be would be to log in into your cPanel that is associated with your HostGator account.
STEP 2: Go To “File Manager” From The Dashboard
Once you successfully logged in your cPanel. In the cPanel dashboard look for “Files” section scroll a little bit below find the “File Manager” and click it.
STEP 3: File Manager Window
Upon opening the file manager window you will see a left pane find the “public_HTML” and click on its plus sign. From there you open the domain name file which is associated with WordPress that you wanted to delete.
[OPTIONAL] STEP 4: Before Deleting Copy The Database Name From The wp-config.php
You can skip this if you don’t want to backup your site. Once you found the domain file folder that is associated to the WordPress you decided to delete. Before progressing to deletion process, first of all find the “wp-config.php” file select it and press “code editor” from the top pane. Once the file is opened you will see a code where you need to find the database name which is in the first lines of the code where the line starts as “define” with a parenthesis with two quoted parameters and the first one should be called “DB_Name”.
The code looks will look like this as an example
Remember the text next to the ‘DB_NAME’ that is also quoted or copy it to a notepad in the meantime. This will be used later for the database deletion.
STEP 5: Delete Files
Now that we got what we all need, we can proceed to finally deleting the files. Click select all from the folder of the domain where WordPress was used and click “Delete” afterwards then confirm whatever deletion confirmation they will show. If you don’t need to backup your website, then you’re already done.
[OPTIONAL] STEP 6: Back To cPanel Dash And Go To “My SQL Databases”
Do not logout the cPanel just yet. Go back to the cPanel dashboard and scroll down below to find a “Database” section then find the “My SQL Databases” and open it.
[OPTIONAL] STEP 7: List Of Databases
Upon opening it you should be able to see a list of database for all the websites that is being used from your HostGator account. Now remember STEP 4 now this is where what we did at that step pays off. From where you listed the “database name” down or if ever you just remembered the exact name of it without mistake, look for the same name from the list and once you found it. Click on the “Delete Database” button right next to the database name. And that is our final step.
We are done. In just 5-7 steps we managed to remove WordPress from HostGator manually through cPanel.
Regardless on the reasons of why would you would uninstall or remove WordPress. Hopefully, this guide managed to enlighten you about how to uninstall WordPress from HostGator. If you want to learn more about backing up a website. You might also be interested on how to backup and migrate a website manually through this link.