WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Strange Index.php in my wp-content folder (8 posts)

  1. KatGirl
    Member
    Posted 7 years ago #

    I discovered today this inside my wp-content folder (where plugins & theme folder lives): index.php

    I open this index.php and this is what's inside: <?php //silence is golden. ?>

    Is this suppose to be in wp-content? Is it spam?`

  2. spencerp
    Member
    Posted 7 years ago #

    Nope, they just started adding that in there, with the WordPress downloads. =) I think they just started doing that, not too long ago actually.. If I remember right..?? =/

    I remember before, when there wasn't any there, I used to add my own versions of the index.php file in there.. =P

    Example NSFW:
    http://www.vindictivebastard.net/images2/

    spencerp

  3. KatGirl
    Member
    Posted 7 years ago #

    Hey Spencerp - thanks for the quick reply. Do you know Why they (I'm assuming creators of WordPress) added it to my wp-content folder?

    What purpose does it do? Can I delete it without effecting my wordpress install?

    xx

  4. Chris_K
    Member
    Posted 7 years ago #

    If you like people browsing your directories (assuming you haven't disabled that at the web server level) then by all means, remove it!

    In other words, it's a simple way to stop folks from poking about in the even the host hasn't already prevented such investigations... :-)

  5. spencerp
    Member
    Posted 7 years ago #

    Sorry I didn't reply sooner.. =( Was replying in another thread.. ;) Thanks Handy, for handling it.. =) Yuppers, Handy summed it up pretty good! ;)

    spencerp

  6. KatGirl
    Member
    Posted 7 years ago #

    Ok. So in other words, leave it be and it will protect me from all the nasties?

    Thanks for the info. Appreciated.

  7. spencerp
    Member
    Posted 7 years ago #

    You're welcome, even though Handy was the one that really answered your question lol... =) =P

    spencerp

    Well, He and I are both awesome, so I guess it doesn't matter.. hahaha. =P

  8. pgale
    Member
    Posted 7 years ago #

    Actually, no it doesn't prevent it. I just found my entire plugins folder being indexed even WITH this new index.php file in the content folder.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags