how to make http://blog.com/wp-content not accessible

Discussion in 'Blogging' started by countolaf, Aug 12, 2008.

  1. #1
    hello thats my question... i have noticed my blog has been showing the contents as well as the uploads... What file do i need to create to be able to prevent it...

    thanks
     
    countolaf, Aug 12, 2008 IP
  2. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Go to your hosting control panel and disable directory listing[indexing].
     
    rohan_shenoy, Aug 13, 2008 IP
  3. fish

    fish Well-Known Member

    Messages:
    450
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #3
    Try adding:

    Options -Indexes
    Code (markup):
    To the end of your .htaccess file.
     
    fish, Aug 13, 2008 IP
  4. coolsleek

    coolsleek Active Member

    Messages:
    424
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    coolsleek, Aug 13, 2008 IP
  5. countolaf

    countolaf Active Member

    Messages:
    662
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #5
    thank you guys.. WELL appreciated...
     
    countolaf, Aug 15, 2008 IP