Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile Page


  • aaburke14
    Participant

    @aaburke14

    I need to know why the profile page don’t show up as soon as the member log in? It stays on the current page when a member log in. How can i fix that issue?

Viewing 1 replies (of 1 total)

  • peter-hamilton
    Participant

    @peter-hamilton

    Add the following code to your child-theme´s function.php

    
    function login_redirect( $redirect_to, $request, $user ){
        return home_url('profile');
    }
    add_filter( 'login_redirect', 'login_redirect', 10, 3 );
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    

    That should do it.

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