跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Simple Login Notification

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Simple Login Notification

作者:Jeff Starr
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Sends a detailed notification email when admins and other users log in to your site. Choose the user levels/roles for which you would like to receive login notifications. Optionally exclude users and/or IP addresses.

This plugin is useful for keeping an eye on any unauthorized administrator or user logins. Each email alert includes the user name, IP address, user agent, and other details. Very useful for forensic investigations.

👁️ Keep an eye on things..

Features

  • Send email alerts for any user level/role
  • Option to exclude alerts for any user ID
  • Option to exclude alerts for any IP address
  • Send alerts to additional email addresses
  • Automatically send alerts to main Admin user
  • Option to disable alerts for main Admin user
  • Provides detailed information about each login
  • Lightweight and fast: total plugin size < 100KB
  • Simple to use: configure a few options and done
  • No permanent changes are made to anything
  • Easy peasy mac and cheesy

👇 Check out the screenshots

Why is this useful?

I use this plugin to keep an eye on any unauthorized login attempts. Probably a bit paranoid but I don’t care, paranoid works well for me.

How is this plugin different?

While researching for this plugin, I found four other “admin login notification” type plugins:

  • Email Notification on Login
  • Email notification on admin login
  • Kaya Login Notification
  • KolorWeb Access Admin Notification

Unfortunately none of these plugins suited my specific needs:

  • Lightweight, clean and simple
  • Current with latest WordPress
  • No requirement for PHP sessions

So I decided to build my own. Let me emphasize the utter simplicity of this plugin. It does one thing and does it well: sends an email whenever an admin-level user logs in to WordPress. No bells and whistles, no bloat. If you need more functionality, check out the above plugins should get you there.

Privacy

This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. The only thing this plugin does is send an email for each admin-level login. Each email includes information about the user, such as username, IP address, user agent, and other details.

Simple Login Notification is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.

屏幕截图

  • Plugin settings
  • Email notification (using monospace font)

安装

Installing the plugin

  1. Upload the plugin and activate
  2. Configure the plugin settings as desired

More info on installing WP plugins

Configuration

By default, email alerts are sent only when admin-level users log in to your site. To include additional user levels/roles, check out the plugin setting, “User Roles”.

By default, email alerts are sent only to the Administration Email Address (as specified in the WP General settings). To disable sending of alerts to this address, visit the plugin setting, “Default Address”. Important: if you disable sending to the default address, make sure that at least one email address is entered in the setting, “Extra Email”. Otherwise, no email alerts will be sent!

To disable alerts for any user, visit the plugin setting, “Exclude Users”. There you can enter any user IDs that should NOT receive email alerts. Separate multiple user IDs with commas.

To send email alerts to additional email addresses, visit the plugin setting, “Extra Emails”. Separate multiple email addresses with commas.

To disable email alerts for any specific IP address(es), visit the plugin setting, “Exclude IPs”. More information on this below.

Exclude IP address

If you want to exclude an IP address from email alerts, visit the plugin settings > “Exclude IPs”. So if you don’t want to get an email every time you log in, add your IP address to this setting. You can use a free online tool to get your current IP address. If you are unsure, leave this setting blank.

To add an IP address to the “Exclude IPs” setting, you can use any of the following notations:

  • Individual IP address, like 93.184.216.34
  • Sequential range of IP addresses, like 93.184.
  • CIDR range of IP addresses, like 93.184.216.34/24

Important: Separate multiple IP/strings with commas.

Email notifications

Here is an example of what the email notifications (alerts) look like:

Admin logged in at Example Site on February 1, 2026 @ 10:47 pm

LOGIN NAME:    Example User
REQUEST URI:   /wp-login.php
QUERY STRING:  undefined
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
HOST CLIENT:   undefined
HOST FORWARD:  undefined

REFERRER: https://example.com/wp-login.php

USER AGENT: Mozilla/5.0; Chrome/144.0.0.0 Safari/537.36

Visit site: https://example.com/

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

Like the plugin?

If you like Simple Login Notification, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

Restore default options

To restore the default options at any time, visit the plugin settings and click the link that says, “Reset Options”.

Uninstalling

This plugin cleans up after itself. All plugin settings will be removed from the WordPress database when the plugin is deleted via the WP Plugins screen.

常见问题

Got a question?

Send any questions or feedback via my contact form

评价

Excellent, fast and very useful. And that’s just the developer.

httpscore 2024 年 6 月 10 日 1 回复
Great little plugin. Simple UI and great functionality. Can you implement an option to use the login name in the subject of the email?

Easy to Use, Great Security and Reliable

born2excite 2023 年 11 月 5 日
This plugin is very light with virtually zero impact on performance. Provides peace of mind by alerting you if someone logs in to your site and best of all, the developer is a professional web developer specialising in Web Security and maintains the plugin regularly.

Fantastic plugin that helps with security

Dale Reardon 2023 年 7 月 15 日
Terrific plugin that works really well. I love how you have added the ability to email additional emails as well. Great security enhancement to know when admins login. Highly recommended.

Perfection

studioluminous 2023 年 5 月 19 日
Simple, light and straight forward. Couldn’t imagine it any better!

A minimalistic and fast plugin

sergeyf1 2023 年 1 月 16 日
Thanks for this plugin. It fulfills its function and does exactly what it says in the description of the plugin. No unnecessary settings, no ads, and no cluttered interface. I love the plugins from Jeff Starr.

Simple and blazing fast

Pierre LeBaux 2022 年 11 月 4 日 2 回复
Does what it says on the label and nothing else. I think I would also appreciate the editor login notification checkbox, but I 100% understand why that could be considered bloat.
阅读所有6条评价

贡献者及开发者

「Simple Login Notification」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Jeff Starr

帮助将「Simple Login Notification」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

Thank you for using Simple Login Notification! If you like the plugin, please show support with a 5-star rating »

2.3 (2026/04/19)

  • Fixes bug with reset options
  • Updates plugin settings page
  • Improves readme.txt documentation
  • Tests on WordPress 7.0

Full changelog @ https://plugin-planet.com/wp/changelog/simple-login-notification.txt

额外信息

  • 版本 2.3
  • 最后更新:3 周前
  • 活跃安装数量 1,000+
  • WordPress 版本 5.3 或更高版本
  • 已测试的最高版本为 7.0
  • PHP 版本 5.6.20 或更高版本
  • 语言
    English (US)
  • 标签
    admin login notificationemail notificationemail notify on admin loginlogin notification
  • 高级视图

评级

5 星(最高 5 星)。
  • 7 条 5 星评价 5 星 7
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • Jeff Starr

支持

有话要说吗?是否需要帮助?

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.