Forbid To Show Directory Structure

Discussion in 'WordPress' started by @SHFAQ, Oct 18, 2007.

  1. #1
    I have installed wordpress blog site but when i open my plugins and themes folder it shows the whole directory structure.
    For example when i open ( www.myblog.com/wp-content/plugins ) it shows the whole directory structure of plugins folder, it means everyone can see my plugin folder, plz tell me how to forbid users to see plugins or themes directory ?
    I have also tried to give chmod plugins folder with different permissions and it works and director didnt show its sturucture but the plugins in the plugins folder also didnt work, so plz tell me how to forbid the plugins and themes directories that users cannot see its structure but plugins work for site and users ?
     
    @SHFAQ, Oct 18, 2007 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Create an index.html file and upload it to the folder.
     
    mizaks, Oct 18, 2007 IP
  3. @SHFAQ

    @SHFAQ Well-Known Member

    Messages:
    257
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    I have already did this but not just empty index but with redirector to put anyone on site main page.
    I think we need to use chmod to forbid it instead of putting index.
     
    @SHFAQ, Oct 19, 2007 IP