7 simple steps to make your WordPress blog more secure

Securing your Wordpress blog

Wordpress blogs can be targets for hackers looking to take over for SEO, traffic-redirection and other purposes. Most bloggers aren’t aware of the threat posed by hackers and the blog owner may not even know that a successful attack has taken place.

I had an experience some months ago on one of my blogs, where my server had been flooded with hundreds of pages relating to adult material. I only realized this when Google stopped sending me traffic to that blog.

There are some simple security measures that any blogger can implement today to make a blog more secure.

Create a new user account

It is harder for a hacker to break into your blog when both the username and the password have to be cracked. That is why you should create a new user and delete the WordPress default “admin”.

You create a user by going into “Users” then “Add New” in the WordPress menu. When creating the new user, make sure to give it the role as an “Administrator”. That will make sure that you have the full authority over your blog.

Now simply logout from your default “admin” account and log in with the new user details. In “Users” you can delete the default admin username. Make sure to choose the option to transfer your old posts to your new username when deleting the “admin” account.

Use strong password

Do not use simple passwords when creating the new user account. It might be simple for you to remember it, but it is also easier for a hacker to crack it. Your password should be at least eight characters long and should include numbers mixed with characters in uppercase and lowercase.

Set a new nickname

You do not want your new username to be the author name that is shown on all posts. Set the nickname WordPress uses as author name to something different than your username. You do this in “Users” under “Your Profile” in the Nickname field. Choose a new nickname and set “Display name publicly as” to your new nickname.

Use Login Lockdown plugin

Login LockDown plugin records the IP address and timestamp of every failed login attempt to your WordPress blog. If more than a certain number of login attempts are detected within a short period of time from the same IP range, then the login function is disabled for all requests from that range.

Do not allow guest user registrations

If you do not have a membership blog, then there is no reason to allow visitors to register for a guest account on your blog. To check that you’ve got registration turned off, click “Settings” and make sure that “Anyone can register” option is not checked.

Always upgrade

Always upgrade to the latest version of WordPress, latest version of your WordPress theme and latest version of plugins you use. One of the reasons for new versions of software and plugins, is the security vulnerability found in older versions. With WordPress 2.7+ all of these upgrades are simple, automated, one-click processes within the WordPress interface.

Backup regularly

Taking regular backups is important. In case if something happens, use can always use the backup to recover your blog files. WordPress Database Backup plugin makes it simple to backup your files. Activate the plugin and set it to automatically take backups and send them in a file to your email address.

Conclusion

These 7 simple steps can be executed quickly and should make your blog harder to break down. Do you care about your blog security? Did you have any experience with hackers breaking in? What steps did you take to make your blog more secure?

Image by AMagill
  • Google Buzz
  • Stumbleupon
  • Delicious

Join thousands of bloggers and get all my blogging tips for FREE! Subscribe to HowToMakeMyBlog via RSS or via e-mail.

If you liked this article, you may also like:

  • WordPress Worm Attack – Best practices to keep your blog safe
  • How To Install WordPress 2.9 – Step-By-Step Guide
  • 9 settings I always adjust as soon as I install a new WordPress blog
  • Best Wordpress plugins – 18 most downloaded WordPress plugins ever
  • Top 5 Twitter plugins to incorporate into your blog
  • Post written by Marko Saric on April 21, 2009 in WordPress

    { 21 comments… read them below or add one }

    1 Gayle April 21, 2009 at 12:17 am

    Thank you for a very helpful article!

    Reply

    2 Adam Pieniazek April 21, 2009 at 12:19 am

    Good tips.

    A few more would be to ensure that you do not broadcast your wordpress theme version in your footer. It might also be a good idea to delete the automatic insertion of the wordpress version into your header, though it might be a bit too paranoid.

    Reply

    3 Bart | Blue Collar Blog April 21, 2009 at 1:28 am

    As usual Marco, you are an example to us all as bloggers with great, functional, timely content and easy to follow instructions.

    Thanks!

    Reply

    4 Miguel Wickert April 21, 2009 at 3:29 am

    As Bart said, timely and useful content. I didn’t even know about “lock down login plugin. Might have to give that one a go, it never hurts to play it safe. Better to be safe than sorry. :)

    -Mig

    Reply

    5 Jeff Rose April 21, 2009 at 3:16 pm

    Thanks for the post. I always knew I should change the username but didn’t know how. Already done and hopefully no hacks coming my way. Thanks!

    Reply

    6 Marko Saric April 21, 2009 at 5:48 pm

    Thanks for all comments, glad my post was useful!

    @Adam Pieniazek – Thanks for other suggestions. It is something to think about, you never know when you’re secure enough.

    Reply

    7 Gilang Ramadhan April 22, 2009 at 11:45 am

    Thanks for the good articles you have, Mr. Marko! That’s really simple things to do to secure up Wordpress blog.

    Btw, how about the WP Security Scan plugin? A plugin that can do a few security tasks on the list above.

    Try to use that plugin and I thinks its simply useful, too!

    Reply

    8 Marko Saric April 22, 2009 at 8:39 pm

    @Gilang Ramadhan and @Eric Barb – thanks for pointing out WP Security Scan plugin. Looks useful.

    Reply

    9 Eric Barb April 22, 2009 at 11:55 am

    Great article. Being in IT and less design oriented, I can truly appreciate these ideas. I use the login lockdown plugin as well. Many of these security points can be used across the IT worldl, not just wordpress. Another plugin that I like is WP Security Scan. It recommends changing the prefix on your sql database table as well to mitigate zero-day SQL Injection attacks. Don’t know if this is being overly paranoid or not though. Keep up the good work.

    Reply

    10 Miguel Wickert April 23, 2009 at 3:14 am

    Stumbled! :) Keep it up Marko. I recently changed my login. Being safer is the way to go.

    -Mig

    Reply

    11 Mike April 23, 2009 at 3:37 pm

    Good article. thanks for the useful advice.

    Reply

    12 TAG April 23, 2009 at 7:43 pm

    Very valuable information. We just went through your 7 steps to make our blog more secure and will also look into the WP Security Scan plugin suggested by others as well. Since following you on Twitter we’ve gotten very useful and helpful information from you to help with our blog . Thanks greatly for the tips and advice!

    Reply

    13 Robertfel April 25, 2009 at 7:44 pm

    Thank you for sharing a great tips. Will implemented soon as well :)

    Reply

    14 Bronnie April 27, 2009 at 4:03 pm

    Thanks for the great advice. It doesn’t hurt to secure your WP as much as poss. Will do as you suggest and sleep better at night :)

    Reply

    15 Brad in Dallas April 29, 2009 at 10:41 pm

    One thing I like is that you can install the rcaptcha.com plugin, works great and isn’t too troublesome to visitors, plus it helps make OCR better.

    I also understand that it isn’t to hard to set an password on your ADMIN folder for those that built there own site.

    My Zen-Cart installation makes it easy for me to actually change the name of the ‘admin’ folder, is that possible/recommended for wp installs?

    Reply

    16 Marko Saric April 29, 2009 at 11:05 pm

    @Brad in Dallas – Hmm I am not really sure. I have never went that far with my WordPress protection. There must be more details on the WordPress site.

    Reply

    17 Amit May 1, 2009 at 4:57 am

    Thank you very much for those tips. Going to implement them now. :)

    Reply

    18 Technogati May 10, 2009 at 9:33 am

    Thanks a lot for this very-very useful tip.

    Reply

    19 Alex Brooks May 13, 2009 at 12:58 pm

    I’m going to be following these steps to my blog now, thanks a lot for sharing! :D

    Reply

    20 Rahul May 27, 2009 at 8:02 pm

    I too back up my database using the wp database backup. really simple and nice tool to backup ur database.

    Reply

    21 techprism October 25, 2009 at 11:15 am

    Some of the tips but are really very important. Taking these already can protect you from future threats.

    Thanks for sharing.

    Reply

    Leave a Comment

    Previous post:

    Next post:

    Marko Saric on FacebookMarko Saric on TwitterMarko Saric on YouTubeHowToMakeMyBlog RSS