Book Sale! Code WP2025 takes 20% OFF our Pro Plugins & Books »
Web Dev + WordPress + Security

New WordPress Plugin: Simple Login Notification

New WordPress plugin! Simple Login Notification does one thing and does it well: sends an email alert whenever an admin-level user logs in to your site. I use this plugin on all of my sites to keep an eye on any unauthorized activity. Not that I’m expecting any, but if it does happen I definitely want to know about it. The plugin size is only 4 KB (zipped) with virtually zero impact on performance or anything else. Win win win, as they say.

Description

Activate this plugin to send an email when any admin-level user logs in to your site. This is useful for keeping an eye on any unauthorized administrator logins. Each email alert includes the user name, IP address, user agent, and other details. Just in case you need to do some forensic investigation.

Features

Main features of Simple Login Notification:

  • Provides detailed information about each admin login.
  • Lightweight – built with only a few lines of code.
  • Simple to use – activate and done, just works.
  • No permanent changes are made to anything.
  • No settings or anything to worry about.
  • Easy peasy mac and cheesy.

Email Notifications

Here is an example of the email notification subject and message:

Subject: Admin Login @ Example Website

Message: Admin user logged in at Example Website on September 8th 2022, 09:29pm

LOGIN NAME: AdminUser
REQUEST URI: /wp-login.php
QUERY: undefined
REFERRER: /wp-login.php?loggedout=true&wp_lang=en_US
USER AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (Example Browser)
SERVER: example.com
HTTP HOST: example.com
IP REMOTE: 123.123.123.123
IP CLIENT: undefined
IP FORWARD: undefined
HOST REMOTE: 123.123.123.123.example.com
HOST CLIENT: undefined
HOST FORWARD: undefined

Visit site: https://example.com

This email alert is sent via the WordPress plugin, Simple Login Notification.

Lots of details to help with any necessary forensic investigation. Note that the information included in the email notifications is not stored in the WordPress database; it is used only once when included in the email message.

Learn more & Download

Visit Simple Login Notification at the WordPress Plugin Directory to learn more and download the latest version. Like all plugins hosted at WordPress.org, Simple Login Notification is 100% free and open source (via GNU Public License).

About the Author
Jeff Starr = Creative thinker. Passionate about free and open Web.
Digging Into WordPress: Take your WordPress skills to the next level.

2 responses to “New WordPress Plugin: Simple Login Notification”

  1. hi Jeff!

    i wonder if you might consider making this compatible with ClassicPress (a.k.a. WP 4.9)

    • Jeff Starr 2022/09/25 9:55 am

      Yes, I’ve added to the list and will try to get it done. Thanks for the feedback, 12bytes :)

Comments are closed for this post. Something to add? Let me know.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
The Tao of WordPress: Master the art of WordPress.
Thoughts
Replacing my elaborate 27in iMac desk setup with a 15in Macbook Air.
Launching my new plugin, Head Meta Pro 🚀 Complete meta tags for WordPress.
Migrating sites to a new server, so far so good. Please report any bugs, thank you.
Arc browser looked good but lost me at “account required”. No browsers do that.
Finishing up the pro version of Head Meta Data plugin, launch planned this month.
Finally finished my ultimate block list to stop AI bots :) Blocks over 400+ AI bots!
After 10 years working late at night, my schedule has changed. I am now a “morning person”, starting my day at 6am or earlier.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.