Reinstalling WordPress Core

Reinstalling WordPress Core

When using WordPress, you might encounter issues that require you to reinstall the WordPress core.

But how do you actually perform a WordPress core reinstall?

In this article, we will discuss how to reinstall the WordPress core, but a true reinstall. This means you will delete the current WordPress core (rather than overwriting or overwrite), then install a new WordPress core without losing your media, articles, and so on.

How to Reinstall WordPress Core

There are several steps you need to take to reinstall the WordPress core, including

  1. Check WordPress Version
  2. Download WordPress according to the installation version
  3. Update the downloaded WordPress files
  4. Delete WordPress core on the server
  5. Upload the updated files
  6. Extract the file
  7. Done

[the_ad id=”3331″]

1. Check WordPress Version

There are many ways you can use to check your WordPress version. However, if you cannot log in to WordPress and there is no Softaculous on your server, you can check the WordPress version by opening the file wp-includes/version.php

Cara Install Ulang Core WordPress - 1-1

After finding the version.php file, you can open or view the file, and you will find the WordPress version information from the line $wp_version =

Cara Install Ulang Core WordPress - 1-2

2. Download WordPress According to Installation Version

Since you now have the WordPress version information, for example version 6.3.2, you can then download the WordPress files for that version through this page https://wordpress.org/download/releases/.

Cara Install Ulang Core WordPress - 2-1

Just choose the version that matches the one you are using on your website, then download the file using the .zip extension

3. Update the Downloaded WordPress Files

After finishing the WordPress file download, you can extract the file on the device you are using, then delete the folder wp-content, so the result looks like this

Cara Install Ulang Core WordPress - 3-1

Now, you need to compress the files and folders into a Zip file so it can be uploaded to your hosting, or you can upload them directly using FTP (If uploading directly using FTP, make sure you complete step number 4 first!).

Cara Install Ulang Core WordPress - 3-2

4. Delete WordPress Core on the Server

Switching to the server or hosting, you now need to delete certain files before uploading the WordPress files you have prepared.

[the_ad id=”3331″]

Once you are in the WordPress installation folder on your server, just delete all files or folders, Except

  • Folder wp-content
  • File .htaccess
  • File .user.ini (if present)
  • File php.ini (if present)
  • File wp-config.php

If done, the list of files currently on your hosting will look like this

Cara Install Ulang Core WordPress - 4-1

5. Upload the Updated Files

You can upload the file you previously zipped directly from your hosting, or you can also use FTP.

If using hosting, especially cPanel, you can select the menu Upload to upload the WordPress core file you have updated.

Cara Install Ulang Core WordPress - 5-1

After the upload is complete, you can extract the WordPress file to continue.

Cara Install Ulang Core WordPress - 5-2

6. Extract the Zip File

Successfully uploaded the zip file? Now you just need to extract the zip file that was successfully uploaded by right-clicking and selecting the option Extract

Cara Install Ulang Core WordPress - 6-1

When you successfully extract the file, the result will look like this

Cara Install Ulang Core WordPress - 6-2

However, if you get an error message Unsupported Compression Method 99, then you can follow this tutorial.

7. Done

The WordPress core reinstall process is complete, and now you can try accessing your website again.

[the_ad id=”3331″]

If the error on your website was previously caused by an error in the WordPress core, then your website should now be accessible again normally.

Cara Install Ulang Core WordPress - 7-1

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...