How can we help?

Search for answers or browse our knowledge base.

Table of Contents

Configuring the WordPress file changes warnings in the activity log

WP Activity Log uses the Website File Changes Monitor plugin to detect and keep a log of file changes in the WordPress activity log. It is a free plugin developed by us. It is a dedicated file integrity monitor plugin for WordPress.

This document explains in detail how to use both plugins to detect file changes and keep a log of them in the WordPress activity log. It also explains how to configure email and SMS notifications for when file changes occur.

Detecting website file changes and keeping a log in the activity log

If you want to detect and keep a log of website file changes in the activity log, follow these steps:

  1. Navigate to the Enable/Disable events in the plugin menu.
  2. Click the File Changes tab.
  3. Click on Install plugin now.
Installing Website File Changes Monitor plugin through WP Activity Log

This will automatically download and install the Website File Changes Monitor plugin on your WordPress website. Refer to this getting started guide for Website File Changes Monitor for information on how to schedule the scans and configure the basic settings.

File changes information in the activity logs

With both plugins installed, the WP Activity Log plugin keeps a record in the activity logs whenever there are file changes. It also keeps a record when a scan starts or stops.

File changes events in the WordPress activity log

Click on Review Changes to see the details of the file change in the Website File Changes Monitor plugin.

You can view the details of the file changes when you click in the event in the activity log

Activity log event IDs for file changes

The event IDs used to keep a log of file integrity monitoring scans and file changes in the WordPress activity log are:

  1. 6028: the content of some files have changed
  2. 6029: file(s) have been added to the website
  3. 6030: file(s) have been deleted from the website
  4. 6031: file(s) cannot be scanned because it is bigger than the maximum file size limit
  5. 6032: file integrity scan stopped due to the limit of 200,000 files
  6. 6033: file integrity scan has started / stopped
List of event IDs used to report file changes in the activity log

If you do not want to keep a log of a specific change, you can disable any of these events from the Enable/Disable Events section, in the File Changes tab. For more information on the different event IDs refer to the list of event IDs in the WordPress activity log.

Get alerted via Email or SMS of important site file changes

When using WP Activity Log and Website File Changes Monitor you can configure email and SMS notifications for when there are file changes on your website. Let’s assume you want to receive an email whenever there are any type of file changes. You also want to receive an SMS message when existing files are modified. Below is an example explanation of how you can achieve this.

Get an email notification for any file change

The plugin keeps a record of file changes with event IDs 6028, 6029, and 6030. To receive an email notification for when any of the above are reported:

  1. Navigate to the Notifications section in the plugin menu,
  2. click the Custom Notifications tab and click Add New,
  3. Specify a title, add an email address, and add the below trigger:

(EVENT ID IS EQUAL 6028) OR (IF EVENT ID IS EQUAL 6029) OR (IF EVENT ID IS EQUAL 6030)

Below is a screenshot of how this custom notification should look when configured in the plugin. The next time any of these event IDs are reported in the WordPress activity log, you will receive an email notification with all the details.

Trigger to send an email when file changes are reported in the activity log

Refer to the getting started with email and SMS notifications for WordPress for more details on how to setup triggers etc.

Get an instant SMS message when files are changed

Files on a WordPress website only change when a theme, plugin or WordPress core are updated. So it is a good idea to setup a SMS notification for when existing files are changed. Better safe than sorry!

The process is very similar to email notifications; you have to create a custom notification. However, the rule is a bit different and you specify a phone number instead of an email address. Here is how you can do it:

  1. Navigate to the Notifications section in the plugin menu,
  2. Click the Custom Notifications tab and click Add New,
  3. Specify a title, add a phone number, and add the below trigger:

IF EVENT ID IS EQUAL 6028

The next time event ID 6028 is reported in the WordPress activity log, you will receive an SMS notification.

Configured SMS notification for when a file is modified on the website

Refer to the SMS notifications for WordPress administrators guide for more details on how to setup the SMS carrier and other SMS notifications examples.

Uploading WP 2FA as a zip file in WordPress
WP 2FA in the WordPress plugin repository
Close

Installing WP 2FA Free

Congratulations on taking the first step towards enhancing your WordPress site's security with WP 2FA Free! You're now on your way to protecting your valuable data and ensuring peace of mind. No coding or technical knowledge is required.

 

Below are two ways to install WP 2FA on your website:

Go to your plugin dashboard on your site, then go to "Add New", and then search for WP 2FA.

Download the WP 2FA plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading CAPTCHA 4WP as a zip file in WordPress
CAPTCHA 4WP in the WordPress plugin repository
Close

Installing CAPTCHA 4WP Free

Well done you. You're one step closer to safeguarding your WordPress website from spam and automated attacks with CAPTCHA 4WP. You'll be able to effortlessly integrate CAPTCHA into your forms and enjoy a website with enhanced security.

 

Below are two ways to install CAPTCHA 4WP on your website:

Go to your plugin dashboard on your site, then go to "Add New", and then search for CAPTCHA 4WP.

Download the CAPTCHA 4WP plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading WP Activity Log as a zip file in WordPress
WP Activity Log in the WordPress plugin repository
Close

Installing WP Activity Log Free on your website

You deserve a pat on the back for choosing to record user actions and changes on your website. That is the first step towards better user accountability, easier troubleshooting of website security, and many other benefits of issues.

 

Below are the two ways to install WP Activity Log on your website:

Go to your plugin dashboard on your site, then go to "Add New" and then search for WP Activity Log.

Download the WP Activity Log plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading Melapress Login Security as a zip file in WordPress
Melapress Login Security in the WordPress plugin repository
Close

Installing Melapress Login Security Free

Congratulations on taking control of your WordPress website's security by implementing robust login and password policies with Melapress Login Security. You can change your login page URL, limit failed login attempts, and reset passwords.

 

Below are two ways to install Melapress Login Security on your website:

Go to your plugin dashboard on your site, then go to "Add New" and then search for Melapress Login Security.

Download the Melapress Login Security plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2