Login Logout Menu
[resolved] Compatibility with Better WP Security (6 posts)

  1. harishshk
    Posted 2 years ago #

    I am using Better WP security and changed the login slugs. My website doesn't use wp-admin, wp-login anymore. BAW loginout doesn't seem to work with it. It gives page not found error when clicked on login.
    Is there a way around this?


  2. Julio Potier
    Plugin Author

    Posted 2 years ago #


    If you want to hide this URLs, do not print them in the page.
    If you want to print them in the page, do not hide them.
    If you think you're adding security with this plugin, you're wrong.
    If you really want to "hide-but-not-really-hide-coz-i-want-to-print-them-so-this-is-not-hidden" you have to hook the "login_url" and "logout_url".

    I won't provide code for this, my brain is hurting just thinking about both of you, trying to show something you want to hide, i can't get it, sorry.

  3. harishshk
    Posted 2 years ago #


    Thank you for the reply. I just got a way around it. I still use BAW login/out plugin and it's really working well. Thank you!

  4. eric.hoegee
    Posted 2 years ago #

    Harishshk, could you please update us on a solution? There are more people out here, like me, who are struggling with this problem. Thanks in advance

  5. harishshk
    Posted 2 years ago #

    Hello eric,

    I used "Nav Menu Roles" plugin. What it does is it gives us an option to show menu bar differently when logged in and logged out.

    Then I added a link button in Menu. Url: mysite.com/login and Text: Login. This creates login link and using "Nav Menu Roles" selected it as show for logged out users. Then I pulled BAW logout button and selected the option show for logged in users. It seems to be work fine.

    Here is the link for this plugin

    Unfortunately I have not deactivated Better WP security for a while because it doesn't allow for new user registration. Every time I click on Register after filling out the details the page just gets refreshed. I am trying to find a way around it. Until then I won't be using Better WP security. So I am able to use BAW Loginout option easily till then.

  6. harishshk
    Posted 2 years ago #

    * Unfortunately I have NOW deactivated.....

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Login Logout Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic