Category: Plugins
Tips to protect your WordPress blog
Many of blogs based on WordPress have been hacked. To avoid the hackersame disaster from happening to your own blog, you can try the tips below to make your Wordpress blog more secure, at least from the view of script kiddies.
But firstly, I would like to recommend you a plugin called WP Security Scan, which scans your WordPress installation for security vulnerabilities, passwords, file permissions, database security, version hiding, WordPress admin protection/security and suggests corrective actions.

- 1. Remove Wordpress ‘version string’ in your theme files
- 1. Go to Wordpress dashboard, click on presentation -> edit themes -> header.php
- 2. Find and remove this. bloginfo(’version’) Save the file.
Explanation: Hide the version number of your Wordpress such that it will be hard for hacker to find security loopholes for the specific version of Wordpress.
- 2. Place empty ‘index.html’ file in the plugins folder
- 1. Open Notepad. Click ’save as’ and save the file as index.html (be sure to change the filetype from text files to all files)
- 2. Upload the file to Wordpress plugins folder in your web server.
Explanation: Hide the plugins used by your Wordpress blog. It uses the same concept as above which is to hide security loopholes in the plugins.
- 3. Upload a copy of .htaccess file in the wp-admin folder
- 1. Using FTP program or your webserver file manager, go to the root folder of your server and download .htaccess file (set ’show hidden files’ first if you’re using FTP program such as FileZilla)
- 2. Go to your wp-admin folder
- 3. Upload the .htaccess file you’ve downloaded just now.
Explanation: Prevent files in wp-admin from being accessed by hackers by limiting the access to this folder by IP address (means that the access is limited to the server owner/user only).

























13 Comments
Good tip!
–
There is some good advice here, I will give your ideas a go as I am a little concerned about security.
This edit function is really cool. Are you using a plugin for this, if so, which one?
@ Digitalizes, yes it is a plugin called Ajax Edit Comments [ link ]
Thanks! I have installed it. Really nice.
I’m curious about the second thing.
You are saying create a blank html file and save it in the plugins folder.
Can you explain how this would hide the others. It doesn’t make sense to me.
and in the third example, why would you show the hidden files?
Thanks Tony
@tony hogan, many Apache servers show the content of the folder if this folder without index.html file ;)
Thanks
I like the way you allow the commentator to edit the comment for a specific time.
Thanks for sharing the plugin, it saves me the time to actually ask you.
exelent y love IT!
also password protection for wp-admin is useful
İnstalled okey.. thanks.. nice..
Nice list, I used some of the ideas to secure my blog too. I also expanded on it a little and added a few more. You can check it out here
http://www.rockinwordpress.com/2009/06/5-ways-to-secure-your-wordpress-blog/