selinap.com

To leave furtively and stealthily.

Home » Blog Tips, WordPress

Give Error 404 to your plugins folder

June 5th, 2008

It is crucial to hide your Wordpress plugins folder. Click here for the reason why.

This is one way to do it.

Create a “.htaccess” file in the root of the Wordpress installation.

Inside that file put this line of code:

Options All -Indexes

The idea is very simple. This instruction set will order Apache to not display list of files or directories, if there is no index file exists.

However, make sure not to touch anything else inside your “.htaccess” file.

Backup that file first. Even a small mistake will give your blog a “Server Error 500″. If that ever happen, just restore the original “.htaccess” file.

Related Articles:

Popular Articles:

Spread/Promote this article.

Digg | Del.icio.us | Stumble | Y! MyWeb | Y! Buzz | Fave It! | Reddit

Subscribe for free.

 Subscribe to Selinap.com feed right now!

 Get Updates by Email

Tags: ,

3 Responses to “Give Error 404 to your plugins folder”

  1. [...] a conclusion, hide the plugins folder. Share this article Related Posts:Give Error 404 to your plugins folderCreate a Rotating [...]

  2. Ali says:

    This is a very useful and important tip!!!
    But it shows 403 forbidden page or may be it is just me. Just wanted to point out otherwise 404 or 403 this tip is very important.

    Thanks
    Ali

    Alis last blog post..Nokia to purchase Symbian for EUR 264 million

  3. selinap.com says:

    Ali: Perhaps you (or somebody else) had set your server to forbid displaying that folder before. BTW, that is another way of protecting your plugins folder.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">


© Copyright 2008 - 2009 selinap.com
Entries (RSS) and Comments (RSS).