{"id":19026691,"date":"2026-09-22T21:41:29","date_gmt":"2026-09-22T21:41:29","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wordfence-detects-plugin-file-as-modified\/"},"modified":"2026-09-22T21:41:29","modified_gmt":"2026-09-22T21:41:29","slug":"wordfence-detects-plugin-file-as-modified","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wordfence-detects-plugin-file-as-modified\/","title":{"rendered":"Wordfence detects plugin file as modified"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>Hi,<br \/><br \/>I\u2019m currently managing a WordPress site where the \u201cRedirect 404 to Homepage\u201d plugin (version 1.0) is installed.<br \/><br \/>Wordfence is reporting the following file as modified:<br \/><br \/>wp-content\/plugins\/404-to-homepage\/404-to-homepage.php<br \/><br \/>I checked the file manually and there does not appear to be anything suspicious in the code. I also compared it with another copy of the plugin and the code appears to be the same.<br \/><br \/>I also found this older support topic where you mentioned that previous iterations of the plugin included minor code changes that did not require a version number change:<br \/>https:\/\/wordpress.org\/support\/topic\/please-update-the-version-number-on-updates\/<br \/><br \/>However, Wordfence still reports the file as modified.<br \/><br \/>Interestingly, when I try to use Wordfence\u2019s \u201cRepair\u201d option, it fails with:<br \/><br \/>\u201cWordFence API error: Unable to locate the requested file.\u201d<br \/><br \/>Could you confirm whether there are different legitimate versions\/iterations of this file that were distributed under version 1.0?<br \/><br \/>If so, is it possible that Wordfence is comparing the installed file against a different version of the plugin?<br \/><br \/>I have encountered this situation on more than one WordPress site that I manage, so I wanted to check with you before treating the Wordfence warning as a security issue.<br \/><br \/>Thanks!<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-19026691","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19026691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19026691\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19026691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}