How to Reinstall WordPress: 5 Different Methods Depending On Your Needs

  • Category : WordPress
  • Posted on : Sep 21, 2018
  • Views : 1,533
  • By : Yakov R.

If you’re having issues with your WordPress site, one potential fix is to reinstall WordPress to make sure the issue isn’t caused by any corrupt files. Done right, this ensures you have clean core WordPress files without affecting your existing content. Or, if you want to restart your WordPress site from a completely blank slate, you might want to entirely nuke your existing WordPress site and reinstall a fresh copy of WordPress to start from scratch.

Whether you want to completely reinstall WordPress or just reinstall the core WordPress software without affecting your existing content, we’ve got you covered in this post.

The only thing we ask is that you take a backup before following any of these methods. Even though the first two methods are geared at helping you reinstall WordPress without losing any content, it’s always a good idea to have a fresh backup just in case something goes wrong! If you are a Host SEO client, you can quickly take a WordPress backup with a single-click.

Once you have your freshly taken backup in hand, click below to skip to your tutorial of choice:

  • How to reinstall WordPress from the WordPress dashboard while preserving existing content
  • How to manually reinstall WordPress via FTP while preserving existing content
  • How to manually reinstall WordPress via WP-CLI while preserving existing content
  • How to completely reinstall WordPress and start from a 100% blank slate
  • How to reinstall WordPress themes or plugins

How To Reinstall WordPress While Preserving Existing Content

The following three methods show you how to reinstall the core WordPress software without affecting any of your existing:

  • Content
  • Themes
  • Plugins

On a slightly more technical level, that means neither of these methods will affect your WordPress site’s:

  • Database
  • wp-config.php file
  • wp-content folder

Each method only reinstalls the core WordPress software.

How To Reinstall WordPress Core Software Automatically From Your Dashboard

If you just want to reinstall the core WordPress files, you can actually do it right from your WordPress dashboard (if you can’t access your WordPress dashboard – you should skip ahead to the next section for how to do the same thing via FTP!).

It’s surprisingly simple. In your WordPress dashboard, go to Dashboard → Updatesin the sidebar. Then, click the button to Re-install Now:

Once you click the button, WordPress will automatically download and reinstall the latest version of WordPress. You’re essentially just manually re-running the normal Update process that WordPress performs when you update WordPress from your dashboard.

It might take a few seconds – but once the process finishes, you should have a fresh copy of WordPress installed.

How to Reinstall WordPress Core Software Via FTP

If you can’t access your WordPress dashboard because of an error (or just prefer to work over FTP), you can perform a similar process via FTP. You’ll basically be manually duplicating what WordPress would otherwise do for you in the section above.

Here’s the process in a nutshell:

  • Download the latest version of WordPress
  • Extract the ZIP file
  • Upload everything except the /wp-content/ folder

Let’s go through each step in a bit more detail…

First, head to WordPress.org and download the most recent version of WordPress

Once the download finishes, extract the full contents of the ZIP file to your computer. Then, delete the wp-content folder.

Once you’ve done that, connect to your host via FTP and upload the remaining files to the folder where you originally installed WordPress. Usually, this is your root folder named something like public or public_html.

When you start uploading the files, your FTP program should prompt you with a message saying something similar to Target file already exists. When that happens, make sure to select the Overwrite option and continue:

Because you already deleted the wp-content folder, this will overwrite all of the core WordPress files without affecting any of your themes or plugins. Once the upload finishes, you should have a freshly installed copy of the WordPress core files and things are hopefully running smoothly.

How to Reinstall WordPress Core Via WP-CLI

You can also reinstall WordPress core using WP-CLI. WP-CLI is a command line tool for managing many-many aspects of a WordPress installation. It can add/remove users, posts, categories, insert test data, search and replace in the database, and much more. The following command would download WordPress core without the default themes and plugins.

wp core download --skip-content --force

Read more about WP-CLI commands.

How To Completely Uninstall And Reinstall WordPress

Important: If you follow this method, you will lose all of your existing content. this section deals with uninstalling WordPress and installing a fresh, 100% blank copy.

This method will not preserve any of your existing content. Do not follow it unless you want to completely obliterate your existing WordPress site. Basically, you’ll need to:

  • Delete all of your existing WordPress files
  • Install a fresh copy of WordPress using your desired method

If it sounds straightforward, that’s because it is! To delete all of your existing files, you can connect to your site via FTP or, if your host uses cPanel, via cPanel File Manager.

Select all the files in the folder where you installed WordPress and delete them:

You might also want to delete the existing database used for your WordPress site for cleanliness’ sake, though you can use a fresh database even if you skip deleting the existing database. If your host uses cPanel, you can delete your existing database from the MySQL Databases area in cPanel:

Otherwise, you can use phpMyAdmin to Drop the Database:

Once you’ve cleaned out the existing WordPress files, all you need to do is install a fresh copy of WordPress as you would with a brand new site. Depending on your host, you can do this:

Once you finish installing a fresh copy of WordPress, you can start building your new site from an entirely blank slate.

How To Reinstall WordPress Themes And Plugins

While the above methods dealt specifically with the WordPress core software, you may also run into situations where you need to reinstall specific themes or plugins on your site. Thankfully, this is pretty simple. Here’s the safest way to do so:

First, connect to your site via FTP and navigate to your wp-content folder. Then, depending on whether you want to reinstall a theme or a plugin, navigate into either the themes or the plugins folder:

Find the folder for the plugin or theme you want to reinstall. Then, rename that folder and append “_old” to the end of the original filename:

At this point, you can install a fresh copy of the theme or plugin like you normally would. It should function the same as before and retain all of your previous settings and configurations.

Once you verify that everything is working properly with the reinstalled version, you can go back to your FTP program and delete the old folder:

Final Thoughts

In the end, it’s fairly simple to reinstall WordPress. If you just want to reinstall the core WordPress software, you can do so by either:

  • Using the built-in WordPress update functionality
  • Re-uploading the latest copy of WordPress to your server, excluding the wp-content folder and wp-config-sample.php file.

And if you want to completely start from scratch, all you need to do is delete your existing:

  • Files
  • Database

And install a fresh copy of WordPress via whatever method you prefer. Finally, to reinstall a specific theme or plugin, all you need to do is rename the existing folder via FTP and install a fresh copy like you normally would.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

Sat Sun Mon Tue Wed Thu Fri
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Over 20000 Satisfied Customers!

From 24/7 support that acts as your extended team to incredibly fast website performance

Zelt staff were fantastic, I had a concern with a domain and they got back to me very quickly and they helped me to resolve the issue!

author
Technician, Diageo PLC

I'm using Zelt for my portfolio since 2006. The transition was seamless, the support was immediate, and everything works perfectly.

author
Photographer, Allister Freeman

Very easy to understand & use even though I am not very technologically minded. No complications whatsoever & I wouldn't hesitate to recommend it to all.

author
Actor, A&J Artists

Zelt support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Zelt have been amazingly responsive and helpful to any of my queries 👍👍👍

author
Technician, Diageo PLC

Anytime I've had a problem I can't solve, I've found Zelt to be diligent and persistent. They simply won't let an issue go until the client is happy.

author
Doctor, SmartClinics

Zelt support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Zelt have been amazingly responsive and helpful to any of my queries 👍👍👍

author
Freelancer, Fiverr

24/7 World-Class Support

Ran into trouble? Contact our Customer Success team any time via live chat or email.

  • Receive professional WordPress support
  • Our specialists are available round
Get Support