My WordPress site was hacked yesterday – here’s how I fixed it

I was off for Family Day yesterday and I had planned to spend Flora’s naptime getting some writing done for this site.

(Sean was trying to spend his time catching up on some work. Our priorities may be a little messed up here.)

It was bad enough that Flora wouldn’t nap, but then I discovered that my site was hacked. So that put a stop to any writing I planned to do.

Let’s say this again. My site – my tiny little site – was hacked. You’d think this meant that I have hit the big time and that my site was worth hacking, but my stats don’t reflect this. I think this jagoff decided to hack my site just because he could. (I assume said jagoff is male – the name on my hacked page read as male, but maybe I’m wrong. Either way, still a jagoff.)

So I spent Flora’s non-naptime trying to remedy the problem. Trying to fix a web problem I’ve never had before with a non-napping toddler hanging off my every move wasn’t very effective. I did what I could, then got back to it after she went to bed. I went to bed with the site up but unsure of how to keep this from happening again. I did lots of Googling but I was having trouble with the more complicated concepts. I’ve been blogging a long time, but I’m fairly new to WordPress, so fixing its issues takes more time for me.

These articles helped me, and I’m posting them here in case you need them for your own site. (I hope you don’t.)

I’ve done most of the things these articles mention and I hope they’ll help against future attacks.

This is a big reminder to keep regular backups. I was able to restore the site because I had been backing up my database. Had I not done that, I could have gotten the site back up, but with no content. What’s the point of that?

So back up your stuff and do whatever you can to protect yourself. Hackers even want the little personal sites, not just the big guys.

(Note that these tips apply to self-hosted WordPress sites, not sites.)

4 thoughts on “My WordPress site was hacked yesterday – here’s how I fixed it”

  1. Yikes! That makes me want to read up on this for my platform. And also start backing up. (Seriously, that is embarrassing for me to admit. I know better.) I’m glad for you that it’s all recovered and running again.

    P.S. – LOVE your @ necklace. I got mine recently too and they are just fabulous! 😉

    • I’m hit and miss on backups. I was lucky – I only lost one post after restoring, but it was still in my RSS feeder so I could recreated it. A reminder to back up after every post. A PITA but now that I know people like to hack little sites as well as big ones, it must be done.

      PS – I’m late to respond to this because I didn’t get an alert for your comment. Clearly I haven’t fixed all my settings yet – D’oh!

  2. Sorry to hear you were hacked! Great reminder here that everyone needs to take their site security seriously and backup often.

    Glad to hear you got it all fixed up 🙂


Leave a Reply

Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Canada
This work by Melissa Price-Mitchell is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Canada.
%d bloggers like this: