Fixing a broken WordPress

For a variety of reasons WordPress can become broken  Some of those reasons are bad upgrades, bad themes, bad plugins, and bad whatever , and the occasional hack! Yikes, but unlike other CMS systems like Joomla, it is generally easy to repair if you know how. We will explain how to repair a WordPress that has been damaged due to normal reasons here.

Side note: WordPress keeps all of its posts, and pages in the database, and it’s pictures, videos, etc in the wp-content/uploads folder. That is why this method is generally safe to use, and if done properly will not cause data loss on a WordPress that does not have other issues.

 

First off make sure you have the tools you need.

Tools needed for this exercise:

A fresh copy of WordPress that you can download from here

A reliable FTP program to upload select files and folders, which you can get from here (get the client if you are wondering)

And your FTP credentials (you can get these easily from your WordPress hosting provider)

This method WILL NOT fix broken templates or bad plugins. If you are needing to fix those items please get new copies BEFORE you start this project.

 

Now that you have all the tools you will need to get started, let’s get started, this a a real quick and easy fix!*

1. Unzip the WordPress file you downloaded to your desktop so you have easy access top your folders and files contained in it.

2. Open FileZilla (or your FTP program of choice) and use your FTP credentials to connect to the server

3. Delete everything BUT wp-content, and wp-config.php

4. Now from the folder you have on your desktop, upload all the files and folders BUT wp-content and wp-config.php back up to the server to replace the old ones. Remember Never over write always delete then upload.

 

If you followed the instructions to a T and there was not other issues like database corruption or viral infection on pages, then your site should now be back up and running at this point. If you are getting a maintenance screen simply remove the .maintenencefile from the root and you should be good to go.

If this did not work you may need to do more aggressive programming layer work to correct damage to your installation of WordPress which may require a programmer to fix the issue.

*Disclaimer: This article if followed properly WILL fix a variety of broken WordPress issues. however, it will not fix all WordPress issues. Some issues are just to broken for the scope of this guide. Even though the majority of issues will fall within the repair mentioned here. Keep in mind this repair if done wrong, may cause data loss  and if WordPress updates the way files are handled may also cause data loss that is not foreseeable.  The data in this document is drawn from the WordPresses database, and put into simple steps to use, but should be known is use at own risk with out warranty or liability to the writer or owner of this site.