DEV Community

Phil
Phil

Posted on

Get Instant WordPress Login Alerts in Telegram (with Login Telegram Notifier)

Wordpress Login Telegram Notifier

If you manage WordPress sites for clients, agencies, or yourself, security matters — and knowing who logs in (and when) gives you true peace of mind.

Let’s set up detailed Telegram notifications for every WordPress login in under 2 minutes using Login Telegram Notifier.


What does it do?

Login Telegram Notifier instantly sends you a message in Telegram every time someone logs into your WordPress admin area.

Each alert contains:

  • Login URL
  • IP address
  • Geo location (city, country, via ip-api.com)
  • Username
  • Browser & OS
  • Timestamp

Quick Setup

1. Create a Telegram Bot

  • Open BotFather in Telegram
  • Run /newbot, follow the steps, and copy your bot token

2. Get Your Telegram Chat ID

You can receive alerts in a personal chat or in a group chat.

There are several ways to get your Chat ID:

Personal chat:

  • Start @userinfobot in Telegram
  • Copy your chat ID from the response

Group chat:

  • Add your bot to the group where you want to receive alerts
  • Send any message in the group
  • Go to: https://api.telegram.org/bot<your_token>/getUpdates
  • Find "chat": { "id": "-XXXXXXXXX" } (the group chat ID is negative)

Create a Telegram Bot, Get Your Telegram Chat ID

Tip: A single bot can send different notifications to different chats from different sites.

You can use one bot for multiple sites and configure each site's plugin to send messages to its own chat or group.

3. Install the Plugin

  • Go to Plugins → Add New in your WordPress admin
  • Search for Login Telegram Notifier
  • Install and activate

4. Configure

  • In the plugin settings, paste your bot token and your Chat ID (user or group)
  • Optionally, test the integration from settings to ensure you receive messages

Paste your bot token in to plugin settings


Test

Log out and log in again.

You should receive a Telegram message like:

🔔 Login on yoursite.com/wp-login.php
🌍 IP: 11.22.33.44 (US, New York)
👤 User: editor
ℹ️ Chrome, macOS
⏰ 2024-06-15 10:30:21


Why use it?

  • Get notified instantly about all WordPress admin logins — legit or suspicious
  • Works for single or multiple sites: one bot, many chats/groups, endless flexibility
  • Track logins across teams, agencies, or staging environments
  • No coding required
  • GDPR-friendly (no sensitive data stored)

How it works

The plugin sends login details via the Telegram Bot API and uses ip-api.com for geolocation.

No personal data is stored on your server — only the info needed for notifications is sent securely to Telegram.


Source and More Details

👉 Login Telegram Notifier on WordPress.org

Open-source, simple, and powerful — feel free to leave feedback or feature requests!

Top comments (0)