1. Backup Your WordPress Site
Before you begin the reinstallation process, it’s important to backup your WordPress site. This will ensure that you don’t lose any of your content or settings. You can use a plugin like UpdraftPlus to easily backup your WordPress site.
2. Download the Latest Version of WordPress
Once you’ve backed up your site, you’ll need to download the latest version of WordPress. You can do this by visiting the WordPress.org website and clicking the “Download WordPress” button.
3. Upload the WordPress Files to Your Server
Once you’ve downloaded the WordPress files, you’ll need to upload them to your server. You can do this using an FTP client like FileZilla.
4. Create a New Database
Next, you’ll need to create a new database for your WordPress site. You can do this using your web hosting control panel.
5. Install WordPress
Once you’ve created the database, you’ll need to install WordPress. You can do this by visiting the WordPress installation page and following the instructions.
6. Restore Your Backup
Once you’ve installed WordPress, you can restore your backup. This will ensure that all of your content and settings are restored.
7. Update Your WordPress Site
Finally, you’ll need to update your WordPress site. This will ensure that you’re running the latest version of WordPress and that all of your plugins and themes are up to date.
By following these steps, you can easily reinstall WordPress and restore your site.
There might be several reasons why you stumbled upon this article. Maybe you’re having issues with your WordPress website like errors you don’t know how to fix, or worse, maybe your site got hacked. Or, you just want a fresh start for your site. Whatever the reason, we’ve got your back! Continue reading to find out how to reinstall WordPress without losing content.
There are two major ways to uninstall and reinstall WordPress. You can either reinstall WordPress while keeping all of your existing content or delete all of your files and install a fresh new copy. We shall be looking at both ways of doing this, and then looking at all the different methods of doing so.
Important! Now, whatever you decide to do, we highly recommend doing a backup of your WordPress files before attempting anything. You can do this by simply copying all of your WordPress files into your computer or a cloud drive. As you never know when something might go wrong, having a failsafe just in case is simply the best practice.
Reinstalling WordPress via Administrative Dashboard
This method both reinstalls and keeps all of your content and is probably the most straightforward. This is done using your WordPress dashboard. If you can’t access the dashboard, don’t fret! You will be able to do this manually using the FTP method which we will cover later on in the article.
In any case, using the dashboard is a real breeze. All you need to do is look at the sidebar, then click on Dashboard -> Updates and tap the Re-install Now button.
The process is fully automatic, all you need to do is wait several seconds and you’re all set.
Reinstalling WordPress via Auto-Installer
If pesky errors are what’s keeping you from accessing your WordPress dashboard, you can use the Hostinger auto-installer feature instead.
It’s a similar method to the one mentioned before, as the only difference is that you will have to download and then re-upload your wp-content files manually to reset WordPress installation.
- First of all, you’ll need to connect to your account using an FTP client, such as FileZilla.
- Once you have access to your files, you need to download your website’s wp-content folder. In FileZilla, on the right-side window (remote site), find and right-click on the wp-content folder and select Download. Your files will be downloaded to your computer to the location you’ve selected on the left-side window (local site). This process might take a few minutes to finish.
- Now, login to your Hostinger website hosting account and hit the Auto Installer button under the Website section in hPanel. Find and select the WordPress option.
- A new window will pop up. Here, fill in the required information, such as login details and website title, and make sure the “Overwrite Existing Files” option is selected. Click Install.
- Go back to your FTP client and make sure to refresh the file and folder lists. From the left-side window, select the previously downloaded wp-content folder, right-click and select Upload. Make sure you’re uploading the files to site’s root directory.
This method replaces the core WordPress files, providing you with a fresh new copy of WordPress while keeping your content files such as themes and plugins unchanged.
Reinstalling WordPress Using WP-CLI
WordPress can also be reinstalled using WP-CLI. It is a command-line tool that is used to customize the installation of your WordPress. It’s capable of adding/removing users, categories, posts, inserting test data as well as replacing or just simply searching in the database. WP-CLI has more features, but we won’t be covering them here.
And just below is a command line that you can freely use to reset WordPress without affecting themes and plugins. By the way, WP-CLI is fully installed and supported on all Hostinger WordPress hosting plans.
wp core download --skip-content --force
How to Completely Reinstall WordPress (Delete All Files)
Important! Before saying any more, please keep in mind the following: using this method, all of your content files will be permanently deleted. Be absolutely sure there’s no content worth saving, as once this is done, you won’t be able to undo it.
You might want to do this if you encountered WordPress errors you can’t fix for example. Maybe you just want a clean slate and start everything anew.
With that being out of the way there’s really only two steps involved in the process. First, delete all of your existing WordPress files. Secondly, install a fresh new copy using whichever method you prefer. It’s really that simple. To delete the files use Hostinger file manager or connect via FTP and delete the files that way.
Deleting your existing WordPress database is not necessary, even you plan using a new one. However, if you want to completely start over, we don’t blame you. On Hostinger, you can delete the database by navigating to the MySQL Databases section.
Likewise, you can use phpMyAdmin to Drop the database which also wipes out your database completely.
After that’s done, there will be nothing left. Now you can go ahead and start by installing a fresh WordPress copy as if it were a brand new website. Like with reinstalling WordPress itself, there are a few ways of doing this, either automatically or manually depending on your host.
If you’re with a host like Hostinger, there’s a prepared one-click auto-installer that installs WordPress in a matter of seconds.
Alternatively, you can do this manually which would set you back about five minutes.
We have covered all ways you can install WordPress here. Congratulations, at this point you have an absolutely blank canvas for your website!
Conclusion
Taking all things into account, reinstalling WordPress is a pretty simple process. For a quick recap, here’s how:
- By using the in-built WordPress dashboard’s Re-install now button.
- By downloading and then uploading the WordPress files, while excluding the wp-content folder into your server.
And if you’re aiming for the clean slate approach, you just need to delete all the WordPress files and (or) the database. Then simply install a new copy with a method of your choosing.
We hope you enjoyed our guide and if you have any questions, please feel free to leave a comment down below.
How to Reinstall WordPress (The Correct Way)
WordPress is a powerful content management system that can be used to create beautiful websites and blogs. However, sometimes you may need to reinstall WordPress due to various reasons. Reinstalling WordPress can be a daunting task, but it doesn’t have to be. In this article, we will show you how to reinstall WordPress the correct way.
Step 1: Back Up Your Website
Before you begin the process of reinstalling WordPress, it is important to back up your website. This will ensure that you don’t lose any of your content or settings. You can use a plugin like UpdraftPlus to easily back up your website.
Step 2: Delete the Existing WordPress Installation
Once you have backed up your website, you can delete the existing WordPress installation. To do this, you will need to access your website’s files using an FTP client. Once you have connected to your website, you will need to delete the existing WordPress files and folders.
Step 3: Download the Latest Version of WordPress
Now that you have deleted the existing WordPress installation, you can download the latest version of WordPress from the official website. Once you have downloaded the WordPress package, you will need to extract the files and upload them to your website using an FTP client.
Step 4: Create a New Database
Once you have uploaded the WordPress files to your website, you will need to create a new database. You can do this using your web hosting control panel. Once you have created the database, you will need to make a note of the database name, username, and password.
Step 5: Run the WordPress Installation Script
Now that you have created the database, you can run the WordPress installation script. To do this, you will need to access the WordPress installation script by typing in the URL of your website followed by “/wp-admin/install.php”. Once you have accessed the installation script, you will need to enter the database details and follow the on-screen instructions to complete the installation.
Step 6: Restore Your Website
Once you have completed the WordPress installation, you can restore your website from the backup you created in Step 1. This will ensure that all of your content and settings are restored to the way they were before you began the reinstallation process.
Conclusion
Reinstalling WordPress can be a daunting task, but it doesn’t have to be. By following the steps outlined in this article, you can easily reinstall WordPress the correct way. If you have any questions or comments, please leave them in the comments section below.