How to Uninstall and Reinstall WordPress

Are you facing problems with the old version of WordPress? If Yes, then this problem can be solved by uninstalling the WordPress and reinstalling latest WordPress version. One of the users questioned us:

QuestionHi, my name is Julius Sadach and I am living in the USA. I recently started my own blog and I found some issues caused to my blog. Then I came to know that it was the problem of oldest version of WordPress. I tried all the fixes to solve the issue but no result. Now I want to uninstall the WordPress and then Reinstall it so I need guidance how to perform all the procedure.

In this article, I will show you how to uninstall and reinstall WordPress.  We will go through many steps which are easy to grasp. So let’s begin our task.

Before Uninstalling

Before going ahead let me tell you one thing that uninstalling WordPress isn’t the first option. WordPress errors can be fixed easily and can be solved without the hassle process of reinstalling WordPress.  You can solve the problem by troubleshooting. If all the options fail to solve the problem then the last solution is uninstalling WordPress.

WordPress errors can be fixed easily and can be solved without the hassle process of reinstalling WordPress.  You can solve the problem by troubleshooting.

If all the options fail to solve the problem then the last solution is uninstalling WordPress.

If you have chosen this procedure then please keep a backup of your site. You can do thew backup of your site by plugins like My WP Backup or you can do the backup in cPanel. Just Login to cPanel> Files option>Backup and download the backup.

For more security, you can export your content and pages by creating a file. For this go to WordPress admin section, Tools>Export>Download Export File.

Downloading Some Important Files

There are some files which should be downloaded first. Keep these files before doing anything like a wp-content folder, wp-config.php file. Because wp-content folder contains themes, plugins, uploads, images.

You can download the folder by logging into cPanel or by FTP client. And now you can uninstall WordPress.

Uninstalling WordPress

For uninstalling WordPress you need to connect with your site by means of cPanel File Manger or FTP Server. The first step of deleting is Database but you can keep the database and create a new one depending upon your hosting terms.

Many bloggers keep the databases and install a WordPress CMS. But that is boring. We all know that when we install any application it creates a database by itself. So you have no need of keeping the previous database because it will consume database storage.

Again I repeat that please keep the backup of your site.

If you want to create a new database, click on MySQL Databases>Create new Database. 

Firstly, Set the name and password of the new database. And your Database is ready for use.

Installing WordPress

Download the Latest version of WordPress CMS from the official site. After that unzip the file using your computer. Open the File, you will find WordPress Folder, inside which are the WordPress files. Now you have to upload all these files to your site using FTP Client.

You can keep wp-content folder and wp-config.php in your File Manager. But you have to replace all the files like wp-admin, wp-includes, .htacess except these two files.

If you have backed up these files then you can delete them and then upload them. My recommendation is that “Keep these files”.

When all is done, visit the site and you will be asked to fill the information regarding database and hit Submit button.

Now WordPress will connect with your Database. If WordPress connected successfully you will see a successful message and hit ‘Run the Install’ button.

You have to provide site information to WordPress like site title, name, password, email. After that hit the submit button.

Now you have finished the installation process and you now have the access to login to your site. Hurray, you have reinstalled the latest version of WordPress.

Now. Let’s restore the data we have backed up.

Restoring Backup

If you have kept the old wp-content folder inside file manager then you don’t need to restore uploads, images, theme, and plugins.

But if you have removed the file, you need to upload it using FTP Client.

You can restore your content by two ways.

  • Using Tool Section
  • phpMyAdmin Section

Using Tool Section: Go to Tools>Import>WordPress>Upload File and Import

Login to your WordPress admin section and click on Tools section.

There click on install now button below the WordPress. And click on Run Importer. You will be redirected to Importer page and click choose file and select the file from your computer you have downloaded earlier.

After that click ‘Upload file and Import’ and you will notice ‘Assign Authors’ page. If you have single authored site then leave all the boxes blank except’Import Attachments’.

Click Submit button and WordPress will begin to import all the files from the XML file.

If you have single authored site then leave all the boxes blank except’Import Attachments’.Click Submit button and WordPress will begin to import all the files from the XML file.

phpMyAdmin Section: If you have downloaded the backup from your cPanel then you can use this section. Go to Database section and click phpMyAdmin image. After that click on your username provided on the left side. After that select Import option and click ‘Choose file’ and hit ‘Go’ button. And you are done.

If you found this article helpful please like and share.

 

 

 

 

 

 

 

Leave a Reply