Home » WordPress Tutorials » Maintenance » How to Reinstall WordPress?

How to Reinstall WordPress?

Maintenance

As you might know, WordPress is a free open-source content management system (CMS). It is also one of the most used CMS both by novice and experienced web developers. When you first start using WordPress, you will most likely experiment a lot with various plugins and themes. However, at some point, your WordPress might stop working correctly. In that case, it is common to reinstall WordPress. In this tutorial, we will show you how to reinstall your WordPress and how to keep your content, themes, and plugins.

 

How to Reinstall your WordPress website?

The process of reinstalling WordPress is a 3-step process:

  1. Delete your WordPress files
  2. Delete your WordPress database
  3. Install WordPress again

 

Deleting your WordPress files

In order to delete your WordPress files, you will first have to locate them. Usually, they are located in your domain directory with the name of your domain. However, if you have specified a different directory for your domain you will have to check that as well. To do that go to the Domain Manager > Select your domain > Pointers and check the Hosting path which is set.

Now that you know where your files are located, it is time to enter your website directory using the File Manager. Once you have opened your domain directory select all files and remove them.

 

wordpress-delete-files

Note: Sometimes your WordPress might contain files/directories with read-only permissions which will prevent you from deleting them. In this case, simply select all files and set the permissions recursively to 755, and proceed with the deletion.

 

Deleting your WordPress database

Deleting your WordPress database is done through the Database Manager. If you are not sure what the name of your database is you can easily find it in your WordPress directory inside the wp-config.php file. Once you have opened the config file search for your database name and return to the Database Manager. From there click on your WordPress database and choose Delete.

wordpress-delete-database

 

Installing WordPress

Installing WordPress on your AwardSpace account is an easy and fast process. All you need to do is simply go to the Zacky App Installer and use it to install WordPress. We have a detailed guide on how to do that here.

Congratulations, you have successfully reinstalled your WordPress and you can start your site from scratch.

 

How to reinstall WordPress and keep my content?

WordPress, like most CMSs that you might encounter, is storing its content inside its database. Therefore you will first have to back up your WordPress database, plugins, and themes. You can do this by following the steps below:

  1. Log in to the Hosting Control Panel
  2. Access the Database Manager
  3. Click on your database
  4. Open the Management tab
  5. From there choose the Download in SQL Format button
  6. Save your database on your device

 

wordpress-database-backup

 

If you would like to save your plugins and themes then follow these steps:

  1. Connect to your hosting account via FTP
  2. Open your WordPress directory
  3. Enter the wp-content directory
  4. Download the plugins and themes directory

 

wordpress-database-import

 

Now that you have backed up your database, plugins, and themes, you are ready to proceed with the reinstall process by following the steps above.

After WordPress is reinstalled, you need to re-upload your plugins and themes and import your database. Proceed with uploading your files to your WordPress directory via FTP. To import your database head to the Database Manager, open the Management tab for your database and choose Upload and Import SQL.

That’s all, you have successfully reinstalled your WordPress and restored your content.

Was this post helpful?

i

Relevant tags:

Create your WordPress website today!

Connect

Editor’s picks:

Gutenberg Tutorial: How to Move Blocks in WordPress

What you need to know: The WordPress Block Editor allows you to move blocks up and down the document structure in order to rearrange the content contained within those blocks. The most popular way of moving blocks is by dragging a block from one position and dropping...

Gutenberg Tutorial: Deleting a Block in WordPress

What you need to know: You can delete a block in WordPress by selecting it and pressing the Delete key on your keyboard. Alternatively, you can press the three-dot button in the Contextual Toolbar to access the Remove block option. Lastly, it is also possible to...

Gutenberg Tutorial: Using Block Patterns in WordPress

What you need to know: A block pattern in WordPress is a group of two or more regular WordPress blocks. These blocks come in a sensible layout that you wouldn’t need to modify in most cases. Instead, you just need to add your own content to the block pattern. You can...

Gutenberg Tutorial: Using WordPress Reusable Blocks

What you need to know: Gutenberg features reusable blocks that allow you to quickly insert the same content with one click. You can mark any block or block pattern as reusable. You can find your reusable block collection in the WordPress Block Library. Have you ever...



Create your WordPress website today!


Start now