Title: Main index.php modified &#8211; bug?
Last modified: April 12, 2023

---

# Main index.php modified – bug?

 *  Resolved [deha21](https://wordpress.org/support/users/deha21/)
 * (@deha21)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/main-index-php-modified-bug/)
 * Hi! I scanned my site with WordFence and it says that index.php in main directory
   was modified. Except it wasn’t. It looks like WordFence is comparing main index.
   php with wp-admin/index.php.
 * I upload original WordPress files in these two directories and WordFence still
   says it is modified. I think it’s a bug. Any ideas?

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/main-index-php-modified-bug/#post-16648589)
 * Hi [@deha21](https://wordpress.org/support/users/deha21/), thanks for your report
   on this.
 * I had recently seen a case of the “silence is golden” index.php files that appear
   in locations such as **/wp-content**, **/plugins**, and **/themes** copied to
   the root directory index.php, but not a report of differences when they’re restored
   back to the originals.
 * If viewing file differences genuinely match 100% without any hidden characters,
   you _may_ be safe to ignore the result. Please also note that if you’ve not run
   a full manual scan since restoring the original files, the differences may still
   be reported until you do.
 * Let me know if that makes any difference,
   Peter.

Viewing 1 replies (of 1 total)

The topic ‘Main index.php modified – bug?’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [index.php](https://wordpress.org/support/topic-tag/index-php/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/main-index-php-modified-bug/#post-16648589)
 * Status: resolved