How To Uninstall WordPress from HostGator? (Quick)

You might be wondering how to uninstall WordPress from HostGator due to some reason. Uninstalling WordPress from HostGator is not a difficult task! It will take only a few minutes to do.

Before heading any further, It’s important to know what is HostGator is all about. HostGator is a website hosting provider. It allows users to get their own space on the internet.

WordPress is a content management system that is used to build online websites with ease. Installing WordPress is quite easy and straight-forward. You definitely can do it yourself in a few minutes.

In this article today, I’m sharing with you the exact steps on how to remove WordPress from your HostGator web hosting account. Follow a long and let me know in the comments below for any questions or inquiries.

Sign Up For HostGator Web Hosting:

If you’ve already bought web hosting from HostGator, you can skip this step and proceed with the other technical steps to point Godaddy domain to HostGator.

If you’ve not yet purchased web hosting, then let’s do it with a 47% exclusive discount (for a limited time). To grab your discount, You will need to use our promo link. This is an exclusive discount for our blog readers. I’m sure you don’t want to miss it.

Best DreamHost Alternatives

HostGator is offering a wide range of web hosting services. If you’re just getting started, I would recommend grabbing a shared hosting plan. Baby plan suits me very well and allows me to host unlimited domains.

Uninstall WordPress from HostGator:

Moving forward, I’m showing you how to uninstall WordPress from HostGator. We will need to remove the files and the database. I’ve shortlisted and explained the steps below:

Step 1 – Login to HostGator cPanel:

The first thing here is to login to your HostGator account cPanel (web hosting control panel). You can login via this link using your username and password.

Step 2 – Go to “File Manager”:


After successfully logging in your cpanel account, find “Files” section. Below it, you’ll find the “File Manager” tool to access your website files and folders. This is how we can remove the WordPress files on your site.

Step 3 – Understanding File Manager:

After opening the file manager window, on left pane you will find the “public_HTML”. File under this directory are those served after your domain name url.

For example, if you’ve a file named “file.php” in “Public_html” directory, this file will be served at ““. The same thing applies to a WordPress installation on the main domain


Now, you will need to click on “Public_Html” on the left pane and see the files content on the right window. These are all the files related to WordPress installation.

Step 4 – Copy database name (wp-config.php):

A WordPress installation is based on files and a database. In order to uninstall WordPress, you will need to remove the files and the associated database.

Before deleting the WordPress files from “File Manager”, you will need to copy the database name. This will be found in “wp-config.php” file in “Public_Html” directory.


Find the “wp-config.php” file and select it. In the top pane, press Code Editor. It will open the file for you in a text-editor window. Scroll down until you find “DB_Name” and copy the value as shown in the screenshot above.

The database name will help us at a later step to delete the database.

Step 5 – Delete WordPress Files:

After backing up all the files, you can finally proceed with deleting the files. Select the option elect all’ from the folder where WordPress was used and click “Delete”.


Then confirm whatever needs to be deleted. If you don’t need backup of your site, then you are already done. Once all files are deleted, you’ve now completed removing WordPress from your website.

The next step is optional.

Step 6 – Remove Database:

This is the last step and its completely optional. You may want to delete the database to keep everything cleaned and less cluttered. You also may want to keep it as it is just in case!

To remove the database, login back to your HostGator cPanel dashboard. Find “Databases” section and open “MySQL Databases”.


This will take you to a page that has a list of the databases on your website. Here, you will need to know which database is the one associated with the WordPress installation we’ve removed. That’s why we’ve copied it earlier.

Look for the same name of the database and click “Delete Database” button right next to the database name. Once clicked, this will completely delete the database for you.

Wait do not logout the cPanel. Go back to dashboard and scroll down and find a “database” section and find and open “ my SQL databases.


Now, you should have learned how to remove WordPress from your account on HostGator. The process is easy and straight-forward. Understanding and applying it will give an idea about how the overall WordPress system works.

You may also need to check the following articles:

Please let me know in the comments below shall you require any assistance. We’re always available to assist. Don’t forget to share this article with everyone on social media.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Share via
Copy link