跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

Entryway – WP Login & Logout Redirect

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

Entryway – WP Login & Logout Redirect

作者:Md Aminur Islam
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Entryway – WP Login and Logout Redirect gives you full control over where users land after they sign in or out of your site — from a simple pair of default URLs to powerful per-role redirect rules. On top of that, it records login activity in a searchable audit log, alerts you by email when important users sign in, and lets you see (and force out) everyone currently logged in.

Everything is managed from a fast, modern settings screen built with React — no page reloads, instant feedback, and a clean design that feels right at home in your WordPress admin.

🔀 Smart Redirect Rules

Go beyond one-size-fits-all redirects. Build an ordered list of rules and send different users to different places:

  • Target users by role, specific user, or capability — combine multiple conditions in one rule (all must match).
  • Rules are evaluated top to bottom; the first match wins — reorder them with drag and drop.
  • Each rule sets its own login and/or logout destination.
  • Toggle rules on and off without deleting them.
  • Personalize destination URLs with placeholders: {{username}}, {{user_slug}} and {{website_url}} — one click copies a placeholder to your clipboard.

🎯 Default Redirects

  • Set a site-wide login redirect URL and logout redirect URL used whenever no rule matches.
  • Leave a field empty to keep the WordPress default (dashboard after login, homepage after logout).
  • Works with WooCommerce login too.

📋 Audit Log

Know exactly who signed in, when, and from where:

  • Records logins, logouts, failed logins and forced logouts with IP address, browser and OS.
  • At-a-glance stat cards plus a searchable, filterable event table.
  • Automatic cleanup — keep events for 7, 30 or 90 days, or forever.
  • Delete single entries or clear the whole log at any time. Logging is off until you enable it.

👥 Logged-in Users

A live view of every active session on your site:

  • See who is currently logged in, their role, when they signed in and when the session expires.
  • Inspect each user’s individual sessions (device, browser, IP).
  • Force logout a single session, a user, a selection of users — or everyone at once (with an option to keep yourself logged in).

📧 Email Notifications

  • Get an instant email when a user with a role you watch (e.g. Administrator) signs in.
  • Receive a daily, weekly or monthly digest summarizing login activity.
  • Send notifications to any address — defaults to the site admin email.

🕐 Last Login Column

Every user’s most recent login date and time appears in a sortable column on the Users → All Users screen.

Privacy

When audit logging is enabled, each event stores the user’s IP address and browser. Alert and digest emails include this login metadata and are sent only to the configured notification address (the site admin email by default). Notifications are off until you opt in.

Support

If you find this plugin useful, consider supporting its development through a donation.

屏幕截图

Default redirect URLs — set site-wide login and logout destinations
Default redirect URLs — set site-wide login and logout destinations
Redirect rules — per-role/user/capability rules with drag-and-drop priority
Redirect rules — per-role/user/capability rules with drag-and-drop priority

安装

FOR STANDARD INSTALLATION:

Installing this plugin is very easy just like any other WordPress plugin. Please follow these instructions:

  1. In your WordPress admin panel, go to Plugins > Add New Plugin, search for “Entryway” or “WP Login and Logout Redirect” and click on “Install Now”

  2. Alternatively, download the plugin and upload the wp-login-and-logout-redirect.zip to your plugins directory, which usually is /wp-content/plugins/.

  3. Activate the plugin from plugins page.

To configure redirects, click “Redirect Options” in the admin left menu (or the settings link on the plugins page). The Audit Logs and Logged-in Users pages live under the same menu.

常见问题

Where is the options page to insert redirect links?

This plugin adds a “Redirect Options” page to the admin left menu. The Audit Logs and Logged-in Users pages are submenu items of the same menu.

Can I add only login or logout redirect link individually?

Yes, you can add login or logout link individually or both.

Can I redirect different user roles to different pages?

Yes. On the Rules tab, add a rule with a “Role” condition and set its own login/logout URLs. Rules run top to bottom and the first matching rule wins; drag rules to change their priority. When no rule matches, the default URLs are used.

Can I personalize the redirect URL per user?

Yes. Use the {{username}}, {{user_slug}} or {{website_url}} placeholders anywhere in a redirect URL — for example https://example.com/members/{{user_slug}}/.

How do I see who signed in to my site?

Enable logging on Redirect Options → Others, then open the Audit Logs page. Events record the user, time, IP address, browser/OS and the redirect that was applied.

Can I log out a user remotely?

Yes. The Logged-in Users page lists all active sessions. You can end a single session or force logout a user, selected users, or everyone at once.

As an admin can I see every registered users last login date and time?

Yes, go to Users->All Users from admin dashboard left sidebar menu.

I upgraded from WP Login and Logout Redirect — do I need to reconfigure anything?

No. Entryway is the same plugin with a new name — all settings, rules and logs carry over as they were.

How do I get an email when an administrator signs in?

Enable email notifications on Redirect Options → Others and pick the roles to watch. You can also enable a daily, weekly or monthly activity digest.

Are failed login attempts recorded?

Yes. With logging enabled, failed logins are recorded with the attempted username, IP, browser and error reason.

How long are audit log entries kept?

Your choice: 7, 30 or 90 days, or forever. Older entries are cleaned up automatically.

Does the login redirect work with the WooCommerce login form?

Yes. Your configured URL or matching rule wins over the WooCommerce default My Account redirect.

What happens to a rule if its role or user is deleted?

The rule stays as written and simply matches nobody until that role or user is back — it never widens to match everyone.

Can I force logout everyone without logging myself out?

Yes. The “logout everyone” action has an option to keep your own session active.

评价

Nice Work

bltiwood3 2024 年 11 月 12 日
Redirect Login is good

Needed a simple, lightweight redirect on logout

beatbonks 2023 年 4 月 5 日
I 100% got what I was looking for. I have WPForo installed which has no option for logout redirect other than its default of its own forum. I wanted it to instead go to the front page. Installed this plugin, set my logout redirect, and bam, worked first time.

simple and effective

felicesinger 2022 年 2 月 12 日 1 回复
I tested some other plugins … they failed through conflicts with my membership plugin (Thrive Apprentice). This one is just doing what it should do .. simple and nice. Love it!

Great job

Naim Reza 2021 年 12 月 11 日 1 回复
This plugin works perfectly. Thanks for helping me get my work done.

So simple and easy

ahschmidt 2021 年 4 月 13 日 1 回复
So simple and easy
阅读所有5条评价

贡献者及开发者

「Entryway – WP Login & Logout Redirect」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Md Aminur Islam
  • PluginizeLab

帮助将「Entryway – WP Login & Logout Redirect」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

4.0.0

  • [Rebrand] WP Login and Logout Redirect is now Entryway – WP Login & Logout Redirect. Same plugin, same settings — nothing to reconfigure.
  • [Feature] Redirect rule engine: target users by role, specific user or capability with drag-and-drop rule priority.
  • [Feature] URL placeholders {{username}}, {{user_slug}} and {{website_url}} with one-click copy.
  • [Feature] Audit Logs page: searchable, filterable log of logins, logouts, failed and forced logouts with stat cards.
  • [Feature] Logged-in Users page: view active sessions and force logout per session, per user, in bulk or everyone.
  • [Feature] Email alerts on login for selected roles and daily/weekly/monthly activity digests.
  • [Feature] Modern React settings UI with tabbed navigation and instant save feedback.
  • [Feature] What’s New page showcasing everything in the release, linked from the plugin’s admin navigation.
  • [Feature] One-time dismissible admin notice announcing the release, with a link to the What’s New page.
  • [Improve] Redesigned admin experience: collapsible rule cards, grouped conditions, consistent controls.
  • [Fix] Audit Logs now record the URL the user was actually sent to. Previously the redirect column was empty whenever the destination came from the global login/logout setting, and showed the raw, unexpanded placeholder text when a rule used one.
  • [Fix] Saving your settings no longer widens a rule to the whole site when one of its conditions refers to a role or user that no longer exists (for example after deactivating the plugin that registered the role). The rule now stays as written and simply matches nobody until that role or user is back.

3.1.7

  • [Improve] Fix PHPCS coding standard issues across all files.
  • [Security] Sanitize GET input with sanitize_text_field() and wp_unslash().
  • [Security] Use wp_safe_redirect() instead of wp_redirect() for logout redirection.
  • [Fix] Use underscores in hook name for WordPress naming convention compliance.

3.1.6

  • [Fix] Fatal error when get_current_screen() is called before it is available.

3.1.4

  • Compatibility check with latest WordPress Version.

3.1.1

  • [Improve] Re-structure full plugin codebase.
  • [Improve] Add support to login redirect even if wooCommerce is installed.

3.1

  • Update plugin tags.

3.0

  • Few security update.

2.0

  • Just minor updates like modify tags, check with WordPress version etc.

1.1

  • Added every users last login date & time on admin dashboard all users table.

1.0

  • Initial release.

额外信息

  • 版本 4.0.0
  • 最后更新:2 月前
  • 活跃安装数量 6,000+
  • WordPress 版本 6.6 或更高版本
  • 已测试的最高版本为 7.0.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    audit loglogin redirectlogin securitylogout redirectredirect
  • 高级视图

评级

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

您的评价

查看全部评论

贡献者

  • Md Aminur Islam
  • PluginizeLab

支持

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

查看支持论坛

捐助

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

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • 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.