[WordPress] 外掛分享: Smart Role Login Redirects

首頁外掛目錄 › Smart Role Login Redirects
全新外掛
安裝啟用
尚無評分
188 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.0 上架:2025-10-05

內容簡介

總結:這個 WordPress 外掛提供基於角色的登入重定向功能,讓您可以為每個 WordPress 角色設定獨特的重定向網址。它不僅功能豐富,也輕量高效,並且安全可靠。這個外掛適用於許多不同的使用情境,讓您可以根據角色將使用者自動重定向至不同頁面。

1. 這個外掛的關鍵特點有哪些?
- 針對每個 WordPress 角色設定獨特的重定向網址
- 高效輕量,對網站性能幾乎沒有影響
- 簡單易用的管理介面,設定頁面在 WordPress 管理員介面
- 保護安全,驗證所有重定向 URL 以確保安全性
- 支援多種預設角色,包括管理員、編輯、作者、投稿者、訂閱者
- 兼容自定義角色,能夠與其他外掛新增的自定義角色一起使用

2. 這個外掛適合哪些使用情境?
- 用於會員網站,將會員導向其儀表板,非會員導向升級頁面
- 用於多作者部落格,作者直接導向發文編輯器,編輯導向審核隊列
- 用於客戶專區,將客戶導向其專案頁面
- 用於教育網站,學生導向課程素材,教師導向成績簿
- 用於電子商務,將客戶導向帳戶頁面,商店經理導向訂單頁面

3. 如何操作這個外掛?
- 安裝並啟用外掛
- 前往設定 → 登入重定向
- 為每個使用者角色輸入重定向網址
- 儲存您的設定
- 當使用者登入時,根據其角色自動進行重定向

4. 這個外掛有哪些使用範例的重定向網址?
- 首頁:https://yoursite.com/
- 自訂儀表板:https://yoursite.com/dashboard/
- 管理區域:https://yoursite.com/wp-admin/
- 特定頁面:https://yoursite.com/members-only/
- 個人資料頁面:https://yoursite.com/wp-admin/profile.php

5. 其他小提示:
- 將角色的重定向 URL 項留空以使用 WordPress 預設行為
- 這個外掛尊重 WooCommerce 結帳導向
- 能夠無縫地與其他登入外掛一起使用
- 對具有多個角色的用戶使用主要角色

6. 其他資訊:
- 支援:若需要支援、功能請求或錯誤報告,請訪問我們的支援論壇或 GitHub 存儲庫。
- 貢獻:我們歡迎貢獻!請隨時在我們的 GitHub 存儲庫上提交拉取請求,報告錯誤或建議功能。
- 隱私:此外掛不收集任何個人資料,僅在您的 WordPress 數據庫中保存重定向 URL。
- 感謝:為 WordPress 社群全心開發。

(以上內容僅供參考及輔助理解,並非原文翻譯)

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Smart Role Login Redirects」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Role-based login redirects for WordPress.
Key Features
🎯 Role-Specific Redirects – Set unique redirect URLs for each WordPress role
🚀 Lightweight & Fast – Minimal impact on site performance
🎨 Simple Admin Interface – Easy-to-use settings page in WordPress admin
🔒 Secure – Validates all redirect URLs for security
🌐 Works with Default Roles – Administrator, Editor, Author, Contributor, Subscriber
🔧 Custom Role Compatible – Works with any custom roles added by other plugins
📱 Fully Responsive – Admin interface works on all devices
🔄 Smart Redirect Logic – Respects existing redirect_to parameters
⚡ No Dependencies – Works out of the box with any WordPress installation
Use Cases

Membership Sites – Send members to their dashboard, non-members to upgrade page
Multi-Author Blogs – Direct authors to post editor, editors to moderation queue
Client Portals – Route clients to their project pages
Educational Sites – Send students to course materials, instructors to grade book
eCommerce – Direct customers to account page, shop managers to orders

How It Works

Install and activate the plugin
Go to Settings → Login Redirects
Enter redirect URLs for each user role
Save your settings
Users are automatically redirected based on their role when they log in

Examples of Redirect URLs

Homepage: https://yoursite.com/
Custom Dashboard: https://yoursite.com/dashboard/
Admin Area: https://yoursite.com/wp-admin/
Specific Page: https://yoursite.com/members-only/
Profile Page: https://yoursite.com/wp-admin/profile.php

Pro Tips

Leave a role’s redirect URL empty to use WordPress default behavior
The plugin respects WooCommerce checkout redirects
Works seamlessly with other login plugins
Primary role is used for users with multiple roles

Additional Information
= Support =
For support, feature requests, or bug reports, please visit our support forum or GitHub repository.
Contributing
We welcome contributions! Please feel free to submit pull requests, report bugs, or suggest features on our GitHub repository.
Privacy
This plugin does not collect any personal data. It only stores redirect URLs in your WordPress database.
Credits
Developed with ❤️ for the WordPress community.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon