Way to How To Reinstall WordPress Core Files without losing content via FTP

  1. After logging into FTP dashboard ,drag all WordPress Core Files inside /public_html
  2. Download the latest version of WordPress
  3. Download ENTIRE WordPress files of your site
  5. Open your Downloaded WordPress files of your site  say /quarantine is your entire site folder.

Open wp-config.php  and copy information as shown below


6.Navigate to your public_html directory and you should see a file called wp-config-sample.php, right-click on this file and Edit, open the file in Notepad then fill in your database name, database user, and database user password and save it as shown below.


7.Now  right-click on wp-config-sample.php choose Rename, and then name the file just wp-config.php as shown below. .


8.Now upload your  theme from here /quarantine/wp-content/themes to /public_html/wp-content/themes directory as shown below. .

ftp upload backup theme wordpress


This will complete Reinstall WordPress Core Files without losing content via FTP