跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 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 或更新版本
  • 已測試相容的 WordPress 版本 7.0.2
  • 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

Your review

查看全部使用者評論

參與者

  • Md Aminur Islam
  • PluginizeLab

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.