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.














































Comments
RSS feed | Trackback URI
1 Comment »
Trackback responses to this post
Leave a Comment, Win a Friend!