How to Uninstall and Reinstall WordPress?

Uninstall and Reinstall WordPress

One of the oldest methods to make something work is to make it fresh. And in this digital world, fresh means to re-install it. That brings back everything to its default state and thus it works. Thus you are to re-install your windows or factory reset your mobile to make it work. The same happens with WordPress, there comes a time when it just stops working. Or you might start experiencing issues that are quite persistent. This leads us to re-install the WordPress, cuz there is no other option.

This tutorial will cover everything you should do before you uninstall WordPress. Also how you can get everything back after a fresh WP install. However, follow this guide only if you are facing something unsolvable. If you have a small issue, then search on the web for that specific issue. Cuz this tutorial will erase everything and thus you have to put everything back to its place. Now if you are sure to follow this tutorial, please proceed below.

Before anything else, create a backup:

Instead of doing it all manually by visiting the database, you can use a plugin to create a backup. UpdraftPlus is the most trusted backup plugin that you can use. It creates a backup and lets you download it or save it on any cloud service you use. There is a free version and a paid version if you are into removing WP a lot? Then go for the paid version.

Just install this Plugin on your WP and use it to create a backup. Though we will show you other ways to do so. But if you want a quick job, this is it.

Export all your WordPress settings:

You have to export all your settings using the WP export option. That way you won’t be getting the Plugin data but all the content that you have in WP.

Navigate to your WP Admin area and go to Tools > Export. Select all the content and click on Download Export File.

To Export all the users, you’ll need Import and export users and customers Plugin.

Download the wp-content Folder:

Now here stuff becomes a little tricky, you’ll need access to your cPanel to get the job done. Connect your WP site to any FTP client, and access the wp-content folder. Right-click on it and then download the entire folder. That’ll take some time to download as it has lots of small files in it.

Also see: How to Add Multi-Column Content in WordPress Posts

Properly Uninstall WordPress:

You don’t really need to delete your WP database. Since you can run multiple databases on a single hosting. All you need is to visit you cPanel and open the MySQL Databases.

Enter the name of the new database and click on Create database.

After that click on MySQL Users and add a new user. Add a username and provide a password then click on Create User button.

Now scroll down to Add user to database and select the username you created earlier to add it to database.

Now your new database is ready and it is time to install WordPress.

Install WordPress:

Download a fresh copy of WP from here.

Unzip the file and find a WP folder in it. Open that folder and you’ll see lots of files in it.

Upload these files using an FTP client the same way you downloaded them.

After the uploading, go ahead and visit your website. Enter your database information and click on the submit button to continue.

WP will attempt to connect to your database. After a successful connection, it will show you a success message. Now you can click on “Run Install” button to continue.

Next, you’ll need to provide information like site title, description, admin email address, and password.

Fill out the entire information and click on Install WordPress.

Once the install is over, open the WP admin area using the username and pass you entered earlier.

Delete all the default content like Hello world and default comments from the comments section.

Navigate to the Pages and delete the Sample page. Voila! you just installed a fresh copy of WordPress.

Time to Restore Uploads, Images, and Theme:

Note: Unless you have used UpdraftPlus! Then you only need to download updraft and restore the backup using that. It will bring all your everything back including your plugins. If you haven’t used UpdraftPlus, then process below.

Now you need to restore everything you have deleted. We can start that by restoring your media and themes.

Once again using an FTP client, navigate to /wp-content/ folder.

Select the /wp-content/uploads/ folder that you downloaded before and upload it to your website.

If you have downloaded the themes as well. Upload them to /wp-content/themes/ folder.

Import All your Content Now:

Now let’s import all your content now, that we exported in the first step. Navigate to Tools > Import in WP admin area and click on Install now under WordPress.

WP will now download and install the WP importer. After that, you need to click on Run Importer.

Then click on Choose File and select the XML you downloaded in step 1.

Click on Upload file and import to continue.

After that WP will ask you to assign the authors. If it is a single author WP site, then assign all the posts to yourself.  Otherwise, just click on Import Attachments and do nothing else, WP will import the authors.

Then click on Submit button to continue. Once finished, you’ll be able to see all your content by visiting your website.

Time to Install the Plugins one-by-one

Once the WP installation is done, now you need to install and active the WP plugins. You have to do it manually by visiting the WP store and searching for them.

Leave a comment

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