How to keep your wordpress blog Safe & Secure - Part 3
July 4, 2013
In this chapter of keeping your wordpress blog safe and secure, I'll talk about keeping your sensitive wordpress folders hidden or not easily accessible to hackers. You can do it by locking you wordpress folder as well. Without further delay, I'll start listing the tips you need to follow to lock your wordpress folders.
I hope this tutorial did gave you some insight on how to keep your wordpress blog secure. I'll be posting last installment of this tutorial soon. So, stay tuned to Webmaster Tutorials for more updates.

- Hide Directory Listing: By default wordpress blogs show folder structure in URL, something like http://<sitename>.wordpress.com/MyFolder. When a smart programmers/hacker sees this, he/she can easily guess your folder structure. So, you have to hide it. You can hide by embedding following code in your index.php page.
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://<sitename>" );
> Note: If you don't have any index.php then please create one and insert the code and upload it in /wp-includes folder, to keep your folder structure hidden.
- Protect your wp-admin Folder: wp-admin folder is one of the most important folder in your wordpress blog. It has every detail which a admin would like to know. Once hacker cracks into this folder, he can be admin of your blog ! So, protecting this folder is extremely important. Only standard way to protect this folder is by allowing only authenticated users to view/edit that folder.
Howdo you do it? Just follow simple steps given below,
- Goto http://www.htaccesstools.com/htpasswd-generator/ site. Enter the user credentials of a user whom you want to give access to wp-admin folder in the text box given. Site will provide you with a .htpasswd file.
The uses MD5 hashing algorithm. It is world known fact that MD5 algorithm is almost unbreakable. So, you needn't worry about .htpasswd file getting cracked/hacked.
- Visit http://www.htaccesstools.com/htaccess-authentication/ site. Follow the instructions given in that site and it will give you a .htaccess file. Basically this file will have path for .htpasswd file in encrypted format.

- Copy-paste .htpasswd and .htaccess file in wp-admin folder. Please don't overwrite these files, if they are already present in your wp-admin folder. Understand what the new .htpasswd and .htaccess files has and then open existing files to edit accordingly. It is manual process, you have to do it manually.
- Now, you are done ! This trick will give extra security to your wp-admin folder. It is like double pass security system for a hacker to crack.
- Goto http://www.htaccesstools.com/htpasswd-generator/ site. Enter the user credentials of a user whom you want to give access to wp-admin folder in the text box given. Site will provide you with a .htpasswd file.
I hope this tutorial did gave you some insight on how to keep your wordpress blog secure. I'll be posting last installment of this tutorial soon. So, stay tuned to Webmaster Tutorials for more updates.
Comments 18
July 7, 2013
Thanks Shek. Wordpress will be a lot safer using these tips.Thanks Shek. Wordpress will be a lot safer using these tips.
July 15, 2013
Great tips you have provided here.Great tips you have provided here.
July 17, 2013
There few more tips on how to secure your wordpress blog shared in last installment of this series, https://www.seocheckout.com/forum/...ure-part-4.2826/
.
It deals with security plugins which you must have on your wordpress blog.There few more tips on how to secure your wordpress blog shared in last installment of this series, [url]https://www.seoclerks.com/forum/threads/how-to-keep-your-wordpress-blog-safe-secure-part-4.2826/[/url] :). It deals with security plugins which you must have on your wordpress blog.
.It deals with security plugins which you must have on your wordpress blog.There few more tips on how to secure your wordpress blog shared in last installment of this series, [url]https://www.seoclerks.com/forum/threads/how-to-keep-your-wordpress-blog-safe-secure-part-4.2826/[/url] :). It deals with security plugins which you must have on your wordpress blog.
July 20, 2013
Looking forward to reading it Shek!Looking forward to reading it Shek!
August 4, 2013
Cool post...someone will get some good use out of it.Cool post...someone will get some good use out of it.
October 22, 2013
Keeping a blog secure is super important.Keeping a blog secure is super important.
October 24, 2013
Yes Lou lou is it very important to do and some just do not take the proper steps to do so.Yes Lou lou is it very important to do and some just do not take the proper steps to do so.
November 4, 2013
Great part 3. Nice one!Great part 3. Nice one!
November 9, 2013
Shek you always have great tips for us! Love them!Shek you always have great tips for us! Love them!
November 12, 2013
Keeping it safe and secure should be something that everyone wants.Keeping it safe and secure should be something that everyone wants.
November 21, 2013
Being safe is very important. thanks for this helpful post.Being safe is very important. thanks for this helpful post.
November 25, 2013
Shek you are the man. Great helpful tips once again!Shek you are the man. Great helpful tips once again!
November 30, 2013
tank youtank you
December 6, 2013
First thing to do is update to the latest Wordpress version. Wordpress releases an update most time when a breach has been uncovered.First thing to do is update to the latest Wordpress version. Wordpress releases an update most time when a breach has been uncovered.
December 23, 2013
Great tips you have provided us here. Thanks.Great tips you have provided us here. Thanks.
March 2, 2014
thanks Shek. You gave another awesome tutorial.thanks Shek. You gave another awesome tutorial.
July 14, 2014
Thank you for the great tutorial.Thank you for the great tutorial.
July 23, 2014
thank you.thank you.
Please login or sign up to leave a commentJoin



