Support » Fixing WordPress » Stop access to uploads directory

  • Tom

    (@jeffreeeeey)


    Perhaps I could have titled this topic differently but couldn’t think what to call it, apologies.

    Here’s an image I have just posted within a blog post on my site:
    wp-content/uploads/2011/06/thanks-for-the-pagerank-google.jpg

    I have just noticed that you can view the directory and it’s contents. Eg.
    wp-content/uploads/2011/06/
    wp-content/uploads/2011/
    wp-content/uploads/

    wp-content/ is fine!

    If I remember rightly, you shouldn’t be able to see these? Shouldn’t there be a .htaccess or index.html file generated for each (automatically) to stop people being able to snoop in these directories?

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stop access to uploads directory’ is closed to new replies.