Am I hacked? wp-content/index.php file was changed! (4 posts)

  1. lakersalex
    Posted 3 years ago #

    The wp-content/index.php file on my website was changed. Wordfence sent me this warning yesterday:

    Filename: wp-content/index.php
    File type: Core
    Issue first detected: 21 hours 33 mins ago.
    Severity: Critical
    Status New
    This WordPress core file has been modified and differs from the original file distributed with this version of WordPress.

    The file now reads:

    // Silence is golden.

    Apparently, the only change was the addition of the ?> at the end of the file.

    The original file I downloaded when i installed wordpress does not contain that. What should I do?

  2. Pioneer Web Design
    Posted 3 years ago #

    That is what the file always read, the index.php file to review is in your current theme folder wp-contents/themes/yourthemefolder and not the one indicated above.

    Who is WordFence?

  3. shirazdrum
    Posted 3 years ago #


  4. Pioneer Web Design
    Posted 3 years ago #

    If you want to check your site is OK, visit Sucuri

Topic Closed

This topic has been closed to new replies.

About this Topic