When my blog was hacked, I realized that my directories were accessible to anyone, even bots, which is really a big loophole for security. As then the other person trying to hack in to your blog knows which plugins or what important files you have kept safe in your directories.
To avoid anyone access your installation folders or reveal loophole in security this simple hack comes in handy.
Note: Do take backup of your .htaccess(hypertext access) file.
01. Search for a file named .htaccess(hypertext access) in the webroot of your server (FTP) and can be easily edited using any text editor (like Notepad). Open it and add below code in it:
02. Save and you are done.
This concludes this simple and useful tutorial. Hope you like it.
If you enjoy this post, make sure you 





Nice article dude! I haven't heard of Tutzone yet, but you guys seem to run a tight blog here. Keep it up!
Nice article dude! I haven't heard of Tutzone yet, but you guys seem to run a tight blog here. Keep it up!
Thanks for the appreciation buddy. See you around.
Thanks for the appreciation buddy. See you around.
very nice tutorial.. and i'll try it.
thanks
very nice tutorial.. and i'll try it.
thanks
Glad you like it.
Glad you like it.