Kita CreativeArt Samples from Jenn Moore

Protecting Your WordPress Site

WordPressToday a client came to me and stated she could no longer log into her WordPress site, which I designed several months ago. Apparently the login page had been taken over by “the3gayskeeters Mailer.” I opened the wp-login.php file on the server, and sure enough, the code had been compromised by “Yogyacarderlink Indonesian Black Hat Team.” Yikes!

I knew that previously the client’s email had been locked due to exceeding the hourly email limit. When contacted, the hosting company stated there was an issue with open directories on the server, on which they changed the permissions, then removed script forms that had been placed on the site. Figuring that the open directories were now properly protected, I re-installed WordPress to replace any compromised files and hopefully fix the issue for good.

This little dilemma led me to a fantastic article from Smashing Magazine: 10 Useful WordPress Security Tweaks. Most tips include very simple additions to your .htaccess and functions.php files. The summary is as follows:

  1. Prevent Unnecessary Info From Being Displayed
  2. Force SSL Usage
  3. Use .htaccess To Protect The wp-config File
  4. Blacklist Undesired Users And Bots
  5. Protect Your WordPress Blog From Script Injections
  6. Fight Back Against Content Scrapers
  7. Create A Plug-In To Protect Your Blog From Malicious URL Requests
  8. Remove Your WordPress Version Number
  9. Change The Default “Admin” Username
  10. Prevent Directory Browsing

I intend on implementing these features in all WordPress sites moving forward. If anyone has more suggestions for protecting a WordPress site, please feel free to share!

This entry was posted in Art and Design. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


This site uses Akismet to reduce spam. Learn how your comment data is processed.