1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wp-content/theme folder Permissions?

Discussion in 'Blogging' started by Jalpari, Jun 1, 2009.

  1. #1
    How to hide these folders yourdomain.com/wp-content/plugins and yourdomain.com/wp-content/themes folder. ;)
     
    Jalpari, Jun 1, 2009 IP
  2. mrhrk01

    mrhrk01 Well-Known Member

    Messages:
    664
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    145
    #2
    If you mean you do not want those folders viewable when someone types that url in the browser then i would suggest turning off directory listing. (If that is what you meant).
     
    mrhrk01, Jun 1, 2009 IP
    Jalpari likes this.
  3. Guttu

    Guttu Peon

    Messages:
    728
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Just put a blank index.html in that folder. SO it will display nothing ;)
     
    Guttu, Jun 1, 2009 IP
    Jalpari likes this.
  4. rahulsonar

    rahulsonar Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, you can disable directory listing, so no one can access unless you provide the link to. One way to do so is changing permissions. But it is a bad idea!!!
     
    rahulsonar, Jun 1, 2009 IP
  5. BANAGO

    BANAGO Active Member

    Messages:
    456
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #5
    If your permissions are OK, no one can see those folders.
     
    BANAGO, Jun 1, 2009 IP
  6. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Use .htaccess for that, Jalpari.

    Create an .htaccess file with the following code:
    Options -Indexes
    PHP:
    Next, upload that file to your themes and plugins folders. That should keep people from watching what's inside of them.
     
    Ikki, Jun 1, 2009 IP
    Jalpari likes this.
  7. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #7
    yeah u are write how to turn off u mean password protected directory option in cpanel.

    yeah it works thanks to all reputation add :cool:
     
    Jalpari, Jun 4, 2009 IP
  8. lbrg

    lbrg Peon

    Messages:
    195
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8

    thanks man! thats a really good tip.
     
    lbrg, Jun 6, 2009 IP
  9. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #9
    yeah it is a new way i learn
     
    Jalpari, Jun 8, 2009 IP