WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by cartpauj v1.3.2

Login or Logout Menu Item

Add a dynamic "Login" or "Logout" menu item to any WordPress Menu and control redirects.

Login or Logout Menu Item

The facts

Rating
4.8★ from 23
Active installs
20k+
Price
Free
Last updated
28 May 2026
Added
Oct 2017
Requires WP
6.0
Tested up to
WP 7.0.4
Downloads
262,975

Our analysis

AI-assisted

The Login or Logout Menu Item plugin allows you to add a dynamic login/logout menu item to your WordPress site. This menu item changes based on the user's login status, providing a seamless experience for users. You can configure specific URLs for login, login redirect, and logout redirect, making it suitable for various site setups, including those using membership plugins.

After installation, you can find the settings in the WordPress dashboard under Settings > Login or Logout. The plugin also integrates with the block editor's Navigation block, allowing for easy menu management.

Best for: This plugin is best for WordPress site owners looking to manage user login/logout functionality in their menus.

What it does well

  • Dynamic menu item based on user login status
  • Customisable login and logout redirect URLs
  • Easy to configure through the dashboard
  • Compatible with membership plugins

Where it falls short

  • No additional features mentioned beyond basic functionality

Verdict

Login or Logout Menu Item offers straightforward functionality for managing user access in menus. It is a practical choice for those needing a simple solution for login/logout links.

From the developer

cartpauj's own description of Login or Logout Menu Item, lightly tidied.

With this plugin you can easily add a dynamic login/logout menu item to any menu on your WordPress site. The menu item will change based on whether the current user is logged in or logged out. You can also set a specific login page url, login redirect url and a logout redirect url.

Thanks to Juliobox for his prior efforts on the BAW Login/Logout Menu plugin which this is derived from

Configure settings

After installing and activating the plugin, you can find the settings in your dashboard under: Settings > Login or Logout

Login Page URL – This should be the URL to the page where your users will login at. For most wordpress sites this will be /wp-login.php but if you’re using a membership plugin like MemberPress, it might be something like /login/ instead.

Login Redirect URL – This is the URL you would like your users to be redirected to after they’ve successfully logged in. You can set it to / to take them to the home page after logging in. If you’re using a membership plugin like MemberPress, you might want to use /account/ instead. NOTE: Some plugins may override this if they are configured to redirect your users somewhere else during login.

Logout Redirect URL – This is the URL you would like your users to be redirected to after they click the Logout link from this menu item. Use a / to redirect them to the home page, or you might want to redirect them back to the login page at /login/ or /wp-login.php etc.

Add Item to Menu

In your dashboard visit Appearance > Menus.

Then at the top right of that page click the Screen Options button and ensure that Login/Logout checkbox is checked.

Then select a menu to edit, or create a new menu if you don’t already have one.

In the left sidebar find Login/Logout and click the checkbox next to Login|Logout and then click Add to Menu.

You can now drag the menu item wherever you’d like it to appear in your menu. The URL in the menu settings must be left at #lolmiloginout# but you can change the Navigation Label if you’d like it to say something else. Just ensure that the | is there in the label separating the two words.

Now save your menu. That’s it!

Block editor (navigation block)

If you’re using the block editor’s Navigation block:

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for managing URLs.

All in One SEO

AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta descriptions, XML sitem...

Free 2M+ installs 4.7★ (5,201)
301 Redirects

Manage 301 & 302 redirects. Simple redirection & redirects validation. Includes redirect stats & 4...

Free 300k+ installs 4.7★ (578)
Redirection for Contact Form 7

Redirect to any page or URL, execute scripts after submission, save data to the database, and unlock additiona...

Free 200k+ installs 4.7★ (275)
Permalink Manager Lite

Permalink Manager enhances WordPress’s built-in URL system, allowing you to change the URLs of native and cust...

Free 100k+ installs 4.8★ (176)
WP Encryption

Lifetime SSL solution - Free SSL certificate & HTTPS redirect, fix insecure site / SSL errors, Security he...

Free 50k+ installs 4.9★ (1,143)
Redirection

Manage 301 redirects, track 404 errors, and improve your site. No knowledge of Apache or Nginx required.

Free 2M+ installs 4.4★ (703)