Skip to content
WordPress.org

Kernewek

  • Themow
  • Plugins
  • News
  • A-dro
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Login Logout Menu & Redirect

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Login Logout Menu & Redirect

By Mubashir Taqi
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Login Logout Menu & Redirect gives you everything you need for user menus, redirects, and access control in one lightweight plugin — features that other plugins charge a premium for.

Perfect for membership sites, LMS platforms, WooCommerce stores, and communities.

Trusted by 5,000+ sites | View Certification Report

🆓 Premium Features, Zero Cost

No paid add-ons. No “Pro” upsells. Every feature listed below is included for free:

  • Redirect users based on WooCommerce products, LMS courses, or membership levels
  • Restrict /wp-admin/ access by role
  • Redirect Activity Log with CSV export
  • First login redirect for onboarding
  • Scheduled menu visibility with date ranges
  • Device-based menu visibility (mobile vs desktop)
  • Capability-based menu visibility
  • Setup Health Score for guided onboarding
  • In-plugin Help & Documentation

User Menu Builder

Add login, logout, register, profile, avatar, and username links to any WordPress menu. Items show or hide automatically based on login status. Works with any theme.

Menu keywords (use as Custom Link URLs):

  • #rsumlogin# – Login link
  • #rsumlogout# – Logout link
  • #rsumregister# – Register link
  • #rsumprofile# – Profile link
  • #rsumloginlogout# – Smart toggle
  • #rsumavatar# – User avatar
  • #rsumusername# – Username display

Append redirect URLs: #rsumlogin#/my-account or #rsumlogin#%currentpage%

Smart Redirect Engine

The most advanced login redirect system available for WordPress. While other plugins give you basic role-based redirects, our engine evaluates 7 priority levels to ensure the right user always lands on the right page.

Rules are checked in this order. The first match wins:

  1. Individual User – Custom URL for a specific user
  2. First Login – Welcome page for first-time logins only
  3. WooCommerce Product – Based on purchased products or active subscriptions
  4. LMS Course – Based on LearnDash, LifterLMS, or TutorLMS enrollment
  5. Membership – Based on MemberPress, PMPro, or WooCommerce Memberships level
  6. Role – By WordPress role with drag-to-reorder priority
  7. Global – Default fallback for all users

Also supports role-based and membership-based logout redirects.

Use dynamic placeholders in any URL: {{username}}, {{user_slug}}, {{user_id}}, {{display_name}}

Redirect Test (exclusive) – No other redirect plugin lets you debug your rules. Enter any username, toggle between Login and Logout mode, and instantly see which rule fires and why. No more guessing. Available in the Tools tab.

Redirect Activity Log (NEW in 4.0)

Every redirect that fires is recorded in a dedicated log with:

  • User, rule type, destination URL, and timestamp
  • Filter by login/logout, search by username, filter by date range
  • One-click CSV export for reports
  • Auto-pruning after 30 days (configurable)
  • GDPR-compliant IP masking
  • Summary stats: logins today, logouts today, unique users, top rule

No other free redirect plugin offers this level of visibility.

Menu Visibility Control

Show or hide ANY menu item by:

  • Login status – Logged in only, logged out only
  • User role – Subscriber, Editor, custom roles, membership roles
  • Device – Mobile devices only or desktop only (NEW in 4.0)
  • Capability – Any WordPress capability like edit_posts or manage_woocommerce (NEW in 4.0)
  • Schedule – Visible only during specific date/time ranges (NEW in 4.0)
  • Membership – MemberPress, PMPro levels

Works on all menus across your site, not just plugin items. Also lets you hide the WordPress admin bar for specific roles.

Restrict WP Admin Access (NEW in 4.0)

Block specific user roles from accessing /wp-admin/. Redirect restricted users to any page. Administrators are never restricted. AJAX requests always pass through so frontend plugins keep working.

Login Analytics

Built-in dashboard showing total logins, active users, daily/weekly stats, and per-user login history. Includes a WordPress dashboard widget.

Setup Health Score (NEW in 4.0)

A gamified setup checklist on the Getting Started tab. See your configuration score (0-100%), with direct links to fix each missing item. Perfect for first-time users who want to make sure everything is set up correctly.

Help & Documentation (NEW in 4.0)

Plain English, task-oriented documentation built right into the plugin. No googling needed. Organized as “How do I…” questions covering every feature, with a visual navigation map showing what each settings tab does.

Integrations

Auto-detected, zero configuration:

  • WooCommerce – My Account profile links, product-based redirects, subscription-aware
  • MemberPress – Per-membership login and logout redirects
  • Paid Memberships Pro – Per-level login and logout redirects
  • WooCommerce Memberships – Per-plan redirect support
  • LearnDash – Course and group enrollment redirects
  • LifterLMS – Course enrollment redirects
  • TutorLMS – Course enrollment redirects
  • BuddyPress / BuddyBoss – Native profile URLs and avatar support

Shortcodes

  • [lmsc_rsum_login] – Login link
  • [lmsc_rsum_logout] – Logout link
  • [lmsc_rsum_login_logout] – Smart toggle
  • [lmsc_rsum_register] – Register link
  • [lmsc_rsum_profile] – Profile link

Attributes: text, class, redirect
Example: [lmsc_rsum_login text="Sign In" redirect="/dashboard"]

External services

This plugin optionally connects to the LMSCrafter API.

Diagnostics & Error Reporting (Optional)

When enabled in Settings > Tools, the plugin sends anonymous error reports and a daily heartbeat (WordPress version, PHP version, active theme/plugins, site URL). No personal user data is transmitted. Sent via HTTPS to lmscrafter.com.

  • Terms of Use
  • Privacy Policy

Screenshots

  • Getting Started – Setup health score, quick setup steps, and integration detection
  • General Settings – Login configuration, first login redirect, registration, profile and logout options
  • Appearance – Avatar styling, username display, dropdown menu, admin bar visibility, admin access restriction
  • Redirect Engine – Unified view with role, membership, and advanced redirect rules in accordion sections
  • Analytics – Login statistics with overview cards and per-user login history table
  • Redirect Log – Real-time redirect activity with filters, stats cards, and CSV export
  • Help & Docs – Interactive navigation map and task-oriented Q&A documentation
  • Tools – Redirect Test simulator, export/import settings, diagnostics, and reset options

Installation

  1. Go to Plugins > Add New in your WordPress admin
  2. Search for “Login Logout Menu & Redirect”
  3. Click Install Now, then Activate
  4. Go to Settings > User Menu & Redirect to configure

FAQ

How do I redirect users after login based on their role?

Go to Settings > User Menu & Redirect > Redirect Engine. Expand the “Role-Based Rules” section. Enable the toggle for each role, enter the destination URL, and save.

Can I redirect membership users to different pages?

Yes. In the Redirect Engine tab, expand “Membership Rules.” If MemberPress, PMPro, or WooCommerce Memberships is active, your membership levels appear automatically. Set a URL for each level.

How do I add login/logout links to my menu?

Go to Appearance > Menus. Find the “User Menu Links” box on the left, check the items you want, and click “Add to Menu.”

How do I hide menu items by role?

Edit your menu in Appearance > Menus. Expand any menu item and use the “Visibility” dropdown to choose “Logged In Only,” “Logged Out Only,” or a specific role.

How do I show a menu item only on mobile or desktop?

In the Visibility dropdown on any menu item, select “Mobile devices only” or “Desktop only.” The item will only appear on the selected device type.

How do I schedule a menu item to show during specific dates?

Choose “Scheduled (date range)” from the Visibility dropdown. Set start and/or end dates. The item will only be visible during that window. Great for sales, events, or enrollment periods.

How do I block non-admin users from /wp-admin/?

Go to Settings > User Menu & Redirect > Appearance tab. Enable “Restrict WP Admin Access,” select the roles to block, and set a redirect URL. Administrators are never restricted.

Can I see which redirect rule fired for a user?

Yes! Two ways: The Redirect Test tool (in the Tools tab) lets you simulate a login. The Redirect Log tab shows every real redirect that fires — with the user, the rule that matched, and where they were sent.

Can I redirect new users to a welcome page?

Yes. In the Redirect Engine tab, set a “First Login Redirect” URL. New users see this page on their first login only.

What are dynamic URL placeholders?

Placeholders like {{username}} and {{user_slug}} are replaced with real values at login time. Use them in any redirect URL, e.g. https://example.com/members/{{user_slug}}/dashboard

Does it work with WooCommerce?

Yes. Auto-detects My Account for profile links. Supports product-based and subscription-aware redirects.

Does it work with LearnDash, LifterLMS, or TutorLMS?

Yes. Redirect students based on course enrollment with dedicated integrations for all three LMS platforms.

How do I use the Redirect Test tool?

Go to Settings > User Menu & Redirect > Tools. Enter a username, select Login or Logout mode, and click “Test Redirect.” The tool simulates the evaluation chain and shows which rule would fire without actually redirecting.

Is it compatible with PHP 8?

Yes. Fully compatible with PHP 7.4 through PHP 8.3+.

Will it slow down my site?

No. CSS/JS only loads where needed. Minified assets. Compatible with all major caching plugins.

How is this different from other login redirect plugins?

Most redirect plugins offer basic role-based redirects or charge $49+/year for membership redirects, WooCommerce redirects, admin access restriction, and course-based redirects. This plugin includes all of that for free, plus user menu items, menu visibility control, login analytics, redirect activity log, device-based visibility, scheduled visibility, dynamic URL placeholders, setup health score, in-plugin documentation, and the Redirect Test debugger. No other redirect plugin offers this feature set at zero cost.

How do I get support?

Visit lmscrafter.com/support-center to submit a ticket.

Reviews

A menu & redirect plugin

aliabdullah09 Meurth 30, 2026
I’ve tried several plugins to handle login/logout menu links and role-based redirects, and this one beats them all.

Excellent and Very Useful Plugin

zairhassan Meurth 17, 2026
Amazing plugin! It works perfectly and makes managing login, logout, and redirects very easy. Setup is simple and it saves a lot of time. Highly recommended. Great work by the developer!
Read all 2 reviews

Contributors & Developers

“Login Logout Menu & Redirect” is open source software. The following people have contributed to this plugin.

Contributors
  • Mubashir Taqi
  • Lmscrafter.com

Translate “Login Logout Menu & Redirect” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

4.0.0

  • New: Redirect Activity Log — every redirect event logged in a dedicated database table with AJAX-powered viewer, filters, stats, and CSV export
  • New: Restrict WP Admin Access — block specific roles from /wp-admin/ with configurable redirect URL. AJAX requests always allowed
  • New: Device-Based Menu Visibility — show/hide menu items on mobile or desktop only
  • New: Capability-Based Menu Visibility — show menu items by WordPress capability (e.g., edit_posts, manage_woocommerce)
  • New: Scheduled Menu Visibility — show menu items only during specific date/time ranges
  • New: Setup Health Score — gamified onboarding checklist on Getting Started tab with 8 weighted setup checks and action links
  • New: Help & Docs tab — in-plugin documentation with “Where to Find What” navigation map and 20+ task-oriented Q&A items
  • New: Daily auto-pruning of redirect log entries (30-day retention, filterable)
  • Improved: Old-settings migration now runs only on version upgrade, not every page load (performance fix)
  • Improved: Quick Links updated with Help & Docs link and corrected support URL
  • Improved: Nav menu JavaScript handles new visibility field toggling

3.9.1

  • Improved: Added remote error verification endpoint for proactive diagnostics

3.9.0

  • New: Unified “Redirect Engine” tab with accordion sections for Role, Membership, and Advanced redirects
  • New: Redirect Test tool in Tools tab. Simulates login and logout redirect chains for any user
  • New: Login/Logout toggle in Redirect Test for full coverage
  • New: Golden “PRO” sidebar badge for Redirect Engine
  • New: Priority explanation hero card with numbered badges
  • Improved: Unified indigo/slate color palette across Analytics and all tabs
  • Improved: Monochrome integration icons with colored Active badge
  • Improved: Plugin font changed to Outfit (Google Fonts)
  • Improved: Removed duplicate UI elements and cleaned up Getting Started tab
  • Improved: Better analytics empty state design

3.8.1

  • New: Clear All Analytics Data button on Analytics tab

3.8.0

  • New: Opt-in diagnostics module for stability monitoring

3.7.3

  • Fixed: Fatal error on sites using social login plugins (PHP 8.0+)

3.7.2

  • New: WooCommerce and MemberPress login form redirect compatibility
  • Fixed: First login redirect race condition
  • Certified: 96 tests passed, 10/10 security score

3.7.1

  • Fixed: Critical error with MemberPress membership redirect
  • Fixed: Settings overwritten on update

3.7.0

  • New: Supported Integrations showcase with auto-detection
  • Fixed: Membership redirects failing due to data structure mismatch
  • Improved: Form field styling, accessibility, and UI polish

3.6.1

  • Fixed: Deprecated current_time(‘timestamp’) calls
  • Improved: Analytics pagination and user query efficiency

3.6.0

  • New: Role-based and membership-based logout redirects
  • New: TutorLMS and LearnDash Group redirects
  • New: WooCommerce Subscriptions-aware redirects
  • New: First Login Redirect feature
  • New: Dynamic URL placeholders
  • Fixed: MemberPress redirect issues, removed aggressive cache-busting

3.5.0

  • New: Hide Admin Bar by Role feature

3.4.3

  • Updated plugin slug to “lmscrafter-user-menu-redirects”

3.4.0

  • New: Getting Started wizard, avatar presets, dropdown menu, import/export, AJAX saving
  • New: Minified assets and conditional CSS loading

3.3.0

  • New: User Avatar and Username Display menu items
  • New: Role-Based Menu Visibility

3.2.0

  • New: Membership Based Redirection (MemberPress, PMPro, WooCommerce Memberships)

3.1.0

  • New: Role Based Redirection

3.0.0

  • Complete code rewrite. Now maintained by LMS Crafter LTD.

Meta

  • Version 4.0.0
  • Last updated 2 weeks ago
  • Active installations 10+
  • WordPress version 5.8 or higher
  • Tested up to 6.9.4
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    loginlogin menulogin redirectlogout redirectredirect
  • Advanced View

Ratings

5 out of 5 stars.
  • 2 5-star reviews 5 stars 2
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Your review

See all reviews

Contributors

  • Mubashir Taqi
  • Lmscrafter.com

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Kernewek

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.