If someone comes to your WordPress website with the intent to edit, change, or even delete specific files, then you’ll want to be the first one to know. However, there is no definite way to detect changes to your site unless you are using a specific software.
WordPress has a lot of amazing plugins to help you monitor and protect your website. Here’s one such plugin you need to use:
This specific plugin monitors your WordPress installation for added, deleted, or changed files. If it detects a change in your website, an email alert will be sent to a specified address.
From your WordPress dashboard, go to Settings >> WordPress File Monitor Plus so you can edit the plugin. It’s very easy since all you need to do is to set the following:
- Cron Method (time-based job scheduler that will perform certain tasks). I recommend you set it to ‘WordPress Cron’.
- File Check Interval (Hourly, Twice Daily, Daily, Manual). If you do hourly, you could increase the amount of memory that your web server will be using. So if you don’t have a super-fast server, choosing Hourly or Twice Daily could have an effect on performance.
- Notify Email Address. Enter an email address where you want to be notified.
- From Email Address. Enter the same email address as the one you entered above.
- Admin Alert
- File Check Method
- File Check Root. Enter the folder where your WordPress files are located. This is usually automated.
- Directories/Files to Ignore. Enter files/folders that you don’t want to be monitored. If there’s a password-protected area that you don’t want to monitor, you can put them here.
- File Extension Scan. You can choose to disable it, exclude files that have an extension listed below, or only scan those that have an extension listed below.
- File Extensions. Enter the suffix (separated from the base filename by a space or dot) to a computer file’s name which indicates the file format. Examples are png, jpeg/jpg, exe, dmg, txt, pdf, and zip. When putting a file extension, add a vertical bar (|) between them.
Once you’re done, simply click on the Save changes button.
Take note that you can also do a manual scan if you happen to be in the site and you’re wondering if there’s something suspicious going on. That way, you don’t have to wait for the cron job. So with this plugin installed in your WordPress site, you will always be notified with any type of deletions, additions, or changes that are made.