Support » Plugin: Login or Logout Menu Item » Missing option to redirect to current page

  • Resolved dregad



    I’m evaluating your plugin as a replacement for the original baw-login-logout-menu which is not working under PHP 8.0.

    I’m really missing the functionality to redirect after login, to the page the user was on before they clicked the login menu (this was achieved by appending %actualpage to the menu item) (as documented here).

    No matter what I tried, I’m always redirected to the back-end after login, which is not what I want.

    Maybe I missed something ? I would appreciate advice to make that work or maybe add an option to do that as a new feature to the plugin, if not possible with the current version.

    Thanks !

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author cartpauj


    There’s a new settings page in your Dashboard > Settings where you can set this.

    Thread Starter dregad


    Thanks for responding so quickly.

    I did try that actually, but that does not seem to work unfortunately.

    Login Redirect URL is set to, yet after login it goes straight to the back-end instead of the home page.

    Ideally, if I click the login menu when I’m on, I’d like to be redirected there and not to the site’s root.

    EDIT: and logout takes me to the login page instead of the site’s root (Logout Redirect URL is likewise set to

    Note that I also tried several variants, e.g. /, index.php, etc with the same results, so for some reason these settings are not doing anything for me.

    • This reply was modified 8 months, 1 week ago by dregad.
    Plugin Author cartpauj


    Try logging in as a Subscriber user, instead of as an Admin and see if it works. If not, you might have another plugin overriding the login redirect.

    Thread Starter dregad


    I confirm that if I login with a non-Admin profile, I am effectively redirected to the page configured under Settings.

    I do not understand why there is a different behavior for Admins, would it be possible to make that configurable ?

    Also, it would be really nice to have a way to redirect to the currently active page, instead of being limited to a static page in the config.

    Thread Starter dregad


    In the end I decided to use another plugin which better fit my purposes (User Menus) as it also allows restricting access to menu items based on user roles (allowing me to also replace the Nav Menu Roles plugin).

    Many thanks for your support.

    I’ll post in a separate thread, my efforts towards adding a config to choose where to redirect admins in case you want to integrate that in a future version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Missing option to redirect to current page’ is closed to new replies.