[resolved] Hide uploads folder (4 posts)

  1. tastymouse
    Posted 4 years ago #

    When people enter /wp-content/uploads/ in the browser they see the content of that folder.
    I read this post http://wordpress.org/support/topic/is-there-a-way-to-hide-the-uploads-folder-from-public?replies=6 and this http://wordpress.org/support/topic/hide-directory-structure?replies=4
    I uploaded the empty html/php file and a .htaccess, but nothing changes. The content of the folder keeps visible.

    What else can I do?

  2. tastymouse
    Posted 4 years ago #

    I installed this plugin: http://wordpress.org/extend/plugins/secure-folder-wp-contentuploads/ and this doesn't help to.

  3. MickeyRoush
    Posted 4 years ago #

    Did you try placing this at the top of your .htaccess file:

    Options -Indexes

    If so, and that didn't work, what OS is your server using?

    Also, that plugin you mentioned just does what you did manually. Placing a blank index.html file there. Really you shouldn't leave the index.html file blank, it should have something like this in it:

    <html><body bgcolor="#FFFFFF"></body></html>

    The same for the index.php file. It should have something like this:

    // Silence is golden.

  4. tastymouse
    Posted 4 years ago #

    There appears to be an issue with server caching. I'm having contact with the hosting company to solve this.
    Thanks for the advice.

Topic Closed

This topic has been closed to new replies.

About this Topic