Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to set login slug for buddy press login hyperlink?


  • ecogpast
    Participant

    @ecogpast

    My proto website is at https://ecohydraulics.org/. I am running WordPress 5.1 and I use Easy Hide Login 1.0.6. I have installed BuddyPress 4.2 and set it up as instructed. The problem I need help with is that the “Login” top menu item that is added by BuddyPress wants to go to the wp-login.php, but this is expressly blocked by the plugin Easy Hide Login. I need to set the Login hypertext URL to go to the slug I have specified in the Easy Hide Login plugin. Please advise me how to do that or where I can find the answer.

    I have searched the BuddyPress documentation and support forum extensively as well as the internet for MANY hours. I have not found an explicit instruction how to do this, but I get the hint that I probably have to edit one or more .php files. I just don’t want to do that without being sure what to do, so it is not pure trial and error. Ideally, I would just specify the slug somewhere, but I’ll do whatever is advised. I apologize in advance if this is already answered somewhere, so I will gladly take a link to such a place, but my searches have not yielded the answer, so I am asking for help now after many days of struggle. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

  • shanebp
    Moderator

    @shanebp

    What makes you think BP is adding that login link?
    Did you try going to wp-admin > Appearance > Menus and adjusting the url for that link ?


    ecogpast
    Participant

    @ecogpast

    Thank you for responding. BuddyPress has two sets of menu items it can add: “Logged-in” links and “Logged-out” links. The menu option to log in falls into the latter set, because people have to be logged out to then log in 😉 Anyway, I cannot see a way to edit that custom link from within the Appearance -> Menus part of the admin panel.I can change the label, but not the URL. Do you know a way to change that URL?

    I guess I could create my own custom link in the menu admin panel, but then it will be on for all users whether they are logged in or not. That’s not desirable. The goal is to have BuddyPress’ capability.

    What do you think? Thanks!


    shanebp
    Moderator

    @shanebp

    So you want a custom link that only appears when the user is not logged in, correct ?

    That is not specific to BP.

    Have you tried searching for WordPress solutions?
    It’s a much bigger codebase.


    ecogpast
    Participant

    @ecogpast

    Thank you for further discussion. BuddyPress has a built-in custom link that it offers to populate into menus so that people who are logged out can log in. That custom link goes to the default wp-login.php. That is part of BuddyPress for sure. It has the nice capability of only being present if someone is logged out, so I don’t want to forgo that nice BuddyPress feature. If I uninstall BuddyPress it goes away. However, for security reasons I have changed my login URL, so I just want to set the BuddyPress custom link to match. This is why I am seeking help, as it is a BuddyPress feature and problem I need help with. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar