Skip to contentSkip to main navigation Skip to footer

How to Uninstall WordPress From 4 Unique Hosts?

In this blog, we learn deep knowledge about uninstalling WordPress from 4 different hosting platforms. Here, we will cover uninstalling from Cpanel, Hostgator, Ubuntu, and from the local host. Finally, we will also take a look at reinstalling WordPress in the hosting.

How to Uninstall WordPress in CPanel

  • Login to cPanel and head over to the dashboard.
uninstall WordPress
  • Make sure you are deleting all the WordPress files present in the hosting
uninstalling wordpress
  • Head over to the file manager and head over to the public_html directory.
wordpress uninstall
  • Make sure that every WordPress file is deleted here as well.
how to reinstall wordpress
  • Delete the database and refresh the hosting by logging out and redirecting in
how to uninstall wordpress
how to reinstall wordpress manually
  • Once done, you have successfully uninstalled WordPress in your Cpanel hosting when you have completed all these steps at the right stretch.

How to Uninstall WordPress from Localhost

  • Step one: Head over to all Wamp or Xamp directories and find the www folder.
reinstall wordpress without losing content
  • Step two: Open the www folder and delete the WordPress directory present in it.
uninstall wordpress - wordpress reinstall
  • Step three: Open your browser, enter your local host, and click Enter to check-in.
  • Step four: Click on PHPMyAdmin.
remove wordpress
  • Step five: Check the database name of your WordPress and delete them.
how to remove wordpress

Now, you have come successfully uninstalled WordPress from your local host.


How to Uninstall WordPress in Ubuntu

  • Step one: Head over to his HTML folder and check for the current files present in the HTML folder using the ls command or the list command.
  • Step two: Delete the WordPress installation folder from the list in the HTML folder. You can make the same process complete using your terminal or your command prompt to these instructions.

Note: The pre-formatted codes given below are with reference to the terminal.

  • Step three: Delete the database from your My SQL Server. For doing this, go to my SQL using the command below:
show databases;

enter the password for your MySQL password and check for the available databases using the syntax show databases;

  • Step four: Once found, Delete the database or drop the database using the Drop Database WordPress; command.
drop database wordpress;

Once it provides a successful message, you have successfully uninstalled WordPress from Ubuntu.

How to Uninstall WordPress Hostgator

  • Step one: Head over to login in cPanel and log into the host to reach the dashboard.
uninstall wordpress - how to reinstall wordpress without losing data
  • Step two: Select File Manager from the dashboard and look for the file.
bluehost reinstall wordpress
  • Step three: Now, search for public_HTML and click on Add or the ‘+’ sign that is given along with it.
uninstall wordpress from cpanel
  • Step four: Now, before deleting the WordPress database, make sure that you have a copy of the WordPress database for future reference. For this copy the file Wp-config.php
how to uninstall wordpress from cpanel
  • Step five: Once done, delete all the files and refresh by logging out and logging in to the Hostgator hosting.
uninstall wordpress cpanel

Now that you have successfully uninstalled WordPress from your Hostgator hosting.

Reinstall WordPress

This is applicable when you want to make sure that you want to restart or reinstall WordPress in your hosting.

  • Step One: Make sure that you have backed up your previous WordPress site details and database.
bluehost uninstall wordpress
  • Step Two: Log into your WordPress dashboard.
  • Step Three: Head over to the dashboard menu and then check for updates or click on updates.
how to uninstall wordpress in cpanel
  • Step Four: Click the install button to reinstall the WordPress settings.
  • Step Five: You have simply and successfully reinstalled WordPress in your host as your site

For more WordPress queries and activity guides in WordPress do check out this link:

And to know more about the host and WordPress, do check this:

icons icons icons icons icons icons icons

Stuck Somewhere?
Connect With JustHyre

Hire WordPress Engineers for custom jobs like Website Customization, SEO Optimization, Clearing a Hacked Website, Installation & Configuration & more.

Connnect with JustHyre

There are no comments yet

Leave a comment

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