How to keep a log of WordPress user logins from custom login pages

You are here:

The WP Activity Log plugin keeps a log of the changes that users do on your WordPress websites and multisite network. However, by default it only keeps a log of changes and users’ actions that happen in the WordPress dashboard and the default WordPress login pages. However, you can also easily configure the plugin to keep a log of changes and users’ actions that occur on non-default WordPress pages, such as custom login pages.

Enabling logging of user logins from custom login pages

If you have a membership, subscription or e-commerce website most probably your users do not log in via the default WordPress login page (example.com/wp-login.php/). You use a custom login page. By default the WP Activity Log plugin does not keep a log of user logins through custom login pages. To enable the plugin to capture user logins from custom login pages follow the below procedure:

  1. Click on the Enable/Disable Events section in the plugin menu.
  2. Enable the setting Keep a log when users login to the website from other login pages under the section User Logs & Sessions Events.
  3. Click Save Changes to save the settings.

Activity logs when users login from other login pages

That’s it. Once the setting is enabled the plugin will keep a log of user logins from all login pages on your WordPress website using event ID 1000, as shown in the below screenshot.

User logging event ID