Simple Steps To Uninstall and Re-install WordPress

tips to install wordpress

Reinstallation of WordPress can solve many issues, especially when most of the other troubleshooting guidelines fail. Here, you will learn some ways to uninstall and then reinstall WordPress securely sans any loss of data or SEO.

Why Reinstall WordPress?
According to experts, re-installation of WordPress should always be considered as the last option. This is because most of the common WordPress errors can be fixed easily. This is helpful in keeping you from hassles of re-installation process. First, you should try and figure out the actual cause of an error and troubleshoot it. Next, you should try and clean a hacked website. If everything fails, then it is time to uninstall and the reinstall a fresh copy of WordPress. Remember that it should be used as the last resort.

Here are Steps to Follow to uninstall wordpress and Reinstall it again:

Step 1: Create Emergency Backup
Create a complete backup of your existing WordPress site by using a WordPress backup plugin. All backup files should be stored on a cloud storage service like Google Drive / Dropbox or your computer.

Step 2: Export WordPress Content
Create a WordPress export file and export your WordPress content. This file will contain everything from pages to posts, comments, categories, and tags. To create an export file, sign in to the admin area of WordPress. Go to Tools » Export page. It is time to select all content. The last step is to click on the button labeled as ‘Download Export File’. You can export registered users of your website too.

Step 3: Download wp-content Folder
The /wp-content/ folder of your website stores WordPress plugins, themes, uploads, and images. Download this content to your PC. This will be later used to reinstall WordPress. Use a file manager or an FTP client in cPanel to connect to WordPress website. Now select wp-content folder and download it to your computer. After successful downloading of the wp-content folder, you are all set to uninstall WordPress.

Step 4: Uninstall WordPress
Use FTP client or File manager in cPanel to connect to WordPress website. Now delete all WordPress files. Many WordPress hosting companies also allow users to create as many databases and usernames as needed. So instead of deleting the existing database, it is possible that you create a new one using a new username and password. To do this, login to your cPanel account and click on the MySQL Databases icon. This step will take you to the ‘add new database’ page.

Enter a name for your new database. Now click on create database button. Then scroll down and add the section – ‘MySQL Users’. Now add a new user. Here, you must enter a username and password. Now click on ‘Create User’ button.

The user should be added to the database created earlier. Now it is time to scroll down to ‘Add user to database’ section. Here, select database and username that was created by you earlier. Click on the ‘Add’ button to continue. After reinstalling, your brand new database is all set to be used.

WordPress has been successfully uninstalled. Now it is time to reinstall it and restore your website.

Read:  Why WordPress Is The Perfect CMS For Your Business

Step 5: Fresh WordPress Install
Download a fresh copy of WordPress. To do this, visit website. Now unzip the download file. The WordPress folder is inside this file. Now open the WordPress folder. Here, you can see all of the WordPress files.

Use FTP client and upload these files to your website. Once the upload is done successfully, visit your website. Now you will be asked to enter your database information. Here, you need to enter the following:


After filling out the information, it is time to click on the ‘submit’ button to continue further. WordPress will make an attempt to connect to your database. Once connection is established successfully, you will receive a success message. Click on the ‘Run Install’ button to continue.

WordPress will ask you for site information such as description of site, title, email address, password and admin. Fill out the requisite information, click on ‘Install WordPress’ button to continue. The installation will be completed. Use your username and password to log into the WordPress admin area. Delete the default content. Go to Posts and then delete the ‘Hello World’ post.

You need to visit the ‘Comments’ section and delete the default comment. Now go to Pages and delete the sample page. Now you have reinstalled a fresh copy of WordPress successfully. It is now time to restore your content.

Read:  Optimizer WordPress Theme: An Advanced WP Theme for Live Editing

Step 6: Restore Theme, Uploads, and Images
Start with restoring your theme, uploads, and images, set within the wp-content folder that you downloaded earlier. To do this, connect to your website by using an FTP client. Get to /wp-content/ folder. Now, select the /wp-content/uploads/ folder from PC. Upload this file to your website.

After making changes to WordPress theme or child theme files, upload them. The theme folders are located in the /wp-content/themes/ folder. If you want to more information, so feel free to ask us any question:

Step 7: Import Content
Import your categories, posts, tags, pages, and all other content. Go to Tools » Import page and then click on the link ‘Install Now’ under WordPress. Now WordPress will download. Install the WordPress importer. Now click on the link ‘Run Importer’.

You will now get to the importer page of WordPress. Click on the button ‘Choose File’. Now select the XML file that you have already downloaded during the step 2.

It is time to click on ‘Upload file and import’ button. You will be asked if you wish to create new authors and assign posts to them. In case, you wish to assign posts to present user account.

In case, it is a single author WordPress website, assign all posts to yourself. If not, relax and let WordPress import the authors. Check the box under ‘Import Attachments’ to let WordPress import the images correctly in your /wp-content/uploads/ folder to the media library of WordPress. Click on the Submit button to continue.

This step will make the WordPress import content from the XML file to your fresh WordPress install. Now visit your website and have a look at your content.

Read:  The 5 WordPress Plugins All Blogger Need To Have An Influential Blog

Step 8: Install WordPress Plugins
Once you have successfully imported content to your reinstalled WordPress website, it is time to install plugins. Make sure you install these one by one and then activate them. Also setup these plugins manually for adjusting the settings.

With this last step, you have successfully uninstalled and reinstalled WordPress. Now it is time to review your website and setup things just as earlier. Everything should be set including contact form, navigation menus, sidebar widgets, and many more.

Read:  4 Most Popular Google Adsense Optimized WordPress Themes 2016

Recommended For You

About the Author: Dharak Infotech

Contact on for Guest Post, Sponsored Posts or Advertisement Solutions.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.