Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress Login/Registration Issues


  • pdj1988
    Participant

    @pdj1988

    Good day,

    I hope you all are doing well?

    One of my client’s Buddypress based sites’ has been running smoothly for a couple of months now. As of this morning, we’ve run into a problem.

    Background:
    The site is blocked to users who aren’t members, so they are redirected to the login page. For this, I’m using the Force Login plugin. We have built custom login and password reset pages with Elementor and the Registration page is built with Elementor on Buddybuilder.

    I have removed all custom code in the functions.php file except the following, which specifies the custom redirect slug:

    ‘// Custom Login URL*********************************************************
    function my_login_page( $login_url, $redirect ) {

    return site_url( ‘/login/?redirect_to=’ . $redirect );
    }

    add_filter( ‘login_url’, ‘my_login_page’, 10, 2 );’

    When a user now enters the site URL, they are met with the following message:

    ERR_TOO_MANY_REDIRECTS

    Anyone have advice to rectify this?

    Regards
    Pierre

  • You must be logged in to reply to this topic.
Skip to toolbar