Blog 9-1-1: What To Do When WordPress BreaksBy
Servers crash, databases notoriously corrupt and then there is the ever present human error factor! So what do you do when you are going about your daily business, check on your web site and see this:
Your beautiful, content-rich, ever popular site is gone!!! Oh no!
Super blogger, Gayla McCord of MomGadgetÂ saw this exact message the other day. She hadn’t done anything other than go into her WordPress dashboard and approved a comment. At the time, she was not really concerned as to why it happened, rather she needed to know how to FIX IT and fast.
Luckily for Gayla, she had a good copy of her WordPress install on her local machine and the simple fix was to just upload the wp-config.php file again. The upload fixed the problem and MomGadget.com was up and running again.
The php files that give WordPress all its muscle are picky! Sometimes all it takes to send them off into a frenzy is a missing character (been there, done that) or forgetting to close up a tag (done that too). Sometimes it is simple hiccup on the server side. A while back my permalinks went all funky. It was a simple fix – if you knew what to do – just go into the permalinks area of your WordPress dashboard and reset them to default, save, then go back in and then reset your custom structure.
My advice to you is to always keep a good copy of your WordPress install on your local machine. When an error arises, try reloading the indicated file first.
Back up your actual WordPress database regularly, too!! April Groves of Making Life Work for You recently experienced this one when her web hosting went bad. Chris Cree of SuccessCREEations was able to help her restore everything, but she did lose some of her comments.
And just for good measure, you should also backup your daily data on a regular basis! Web sites are not the only thing that crash.
If you find yourself in a situation where things have gone awry:
- Reload your basic WordPress files
- Restore your database
- Check with your web host – have they done any updates lately? Had any servers crash? Do they have a recent back up of your site?
- Check the WordPress codex to see if any of the plugins you use are conflicting with another one.
- Check the WordPress support forum to see if anyone else has experienced the same error – chances are, they have
- Put out a call on your blog (if you can) or ask a blogging friend to put out a call for you. You would be amazed at the knowledge and generosity of the WordPress community.
Thankfully Gayla and April have happy endings to their recent WordPress scares! Have you got any WordPress survival stories? Feel free to share them with us – we all benefit!