SEOClerks

How to keep your wordpress blog Safe & Secure - Part 3



Enter a reason for deleting this comment

How to keep your wordpress blog Safe & Secure - Part 3

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.

How to keep your wordpress blog Safe & Secure - Part 3

  • 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>" );
    >
    How to keep your wordpress blog Safe & Secure - Part 3
    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.
    How to keep your wordpress blog Safe & Secure - Part 3
    Howdo you do it? Just follow simple steps given below,
    1. 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.
    2. 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.
      How to keep your wordpress blog Safe & Secure - Part 3

    3. 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.
    4. 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.


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

Please login or sign up to leave a comment

Join
blueeyes

Thanks Shek. Wordpress will be a lot safer using these tips.




Are you sure you want to delete this post?

angie828

Great tips you have provided here.




Are you sure you want to delete this post?

shek

There few more tips on how to secure your wordpress blog shared in last installment of this series, https://www.seoclerks.com/forum/th...ure-part-4.2826/ How to keep your wordpress blog Safe & Secure - Part 3.

It deals with security plugins which you must have on your wordpress blog.




Are you sure you want to delete this post?

angie828

Looking forward to reading it Shek!




Are you sure you want to delete this post?

ralph101

Cool post...someone will get some good use out of it.




Are you sure you want to delete this post?

loulou

Keeping a blog secure is super important.




Are you sure you want to delete this post?

twilight

Yes Lou lou is it very important to do and some just do not take the proper steps to do so.




Are you sure you want to delete this post?

evie

Great part 3. Nice one!




Are you sure you want to delete this post?

blueeyes

Shek you always have great tips for us! Love them!




Are you sure you want to delete this post?

tionna

Keeping it safe and secure should be something that everyone wants.




Are you sure you want to delete this post?

evie

Being safe is very important. thanks for this helpful post.




Are you sure you want to delete this post?

tangee

Shek you are the man. Great helpful tips once again!




Are you sure you want to delete this post?

haleystar

tank you




Are you sure you want to delete this post?

soundcloud2

First thing to do is update to the latest Wordpress version. Wordpress releases an update most time when a breach has been uncovered.




Are you sure you want to delete this post?

Kat1

Great tips you have provided us here. Thanks.




Are you sure you want to delete this post?

evie

thanks Shek. You gave another awesome tutorial.




Are you sure you want to delete this post?

mikestang746

Thank you for the great tutorial.




Are you sure you want to delete this post?

dragonhunter95

thank you.




Are you sure you want to delete this post?