Guides › Hosting, domain & email › Security & hacks

Website Files Changed by Themselves: Find Who or What Modified Them

Unexpected edits can be updates, plugins or attackers. Check timestamps and logs.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.

Look at the facts

  1. In File Manager or FTP, sort by modified date. Note files changed at odd times.
  2. Compare against update times for plugins and themes.
  3. Check access logs around those times for suspicious requests. See finding error logs.
  4. Check cron jobs and other users in the hosting account.
  5. Scan for malware. See How to Scan Your Website for Malware: Free Tools and What to Look For.

If it looks malicious

Take a backup copy for evidence, then follow hacked WordPress first steps or After a Security Incident: What to Reset (Passwords, Two-Factor, Keys).

If it was an update

Normal. Keep a change log of updates so you can match them.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.