donalyza.com

Avatar

Hello! I'm Donalyza Agaton, a Blogger who loves Web Design, a rock and r&b Audiophile, a psp Gamer, a hobbyist Photographer, an amateur Videomaker, a gadget geek Girl, and a proud Filipino.

donalyza: had a bad day, my 3 sites are down. Switched to new hosting, forgot to backup my recent db and files. Looking forward to a busy day later. 3 days ago

How To: Prevent People From Spying Your Website Folder

Posted in: WordPress

Do you know that I can see the content of your site if you don’t hide them? Let’s try it to find out.

Go to your address bar and type this, http://yourdomain.com/wp-content/themes/ or http://yourdomain.com/wp-content/plugins/. Ofcourse just change the word “yourdomain.com” to your domain address and you’ll know what I’m talking about.

Eureka! you are exposing yoursite to everyone. You don’t want others to snoop over your folders and find something interesting right? What if someone is stalking you? Will you allow them to hack your website? We all don’t want that to happen. Here’s a very easy way to prevent them from checking your website.

1. Open your file, .htaccess
* find it in your root directory.

2. Just add this line
Options -Indexes

and you are good to go!

Very simple right?

*** since we are editing a very sensitive file (.htaccess) make sure you back-up your files.

Don't miss any post. Subscribe to RSS or by email now.
Tags:

Comments

RSS feed | Trackback URI

1 Comment »

Your Ad Here

Trackback responses to this post

Leave a Comment, Win a Friend!

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
blog stats ss_blog_claim=26b83e33748acc79fc695f757f72db87