Skip to:
Content
Pages
Categories
Search
Top
Bottom

Redirection after registration


  • Ricardo J F
    Participant

    @ricardojf

    We are trying to redirect the users after registration on our site to a specific page (https://ficando.com.br/obrigado), without success. They are always sent to the site main page.

    We could get the user to be redirected on his first login to the page above, from a code from PMPro site, working fine.

    We are able to redirect the user after login to the desired page, no problems either.

    We tried this on functions.php, nothing changes:

    function wpse_19692_registration_redirect() {
    return home_url( ‘/obrigado’ );
    }

    add_filter( ‘registration_redirect’, ‘wpse_19692_registration_redirect’ );

    We tried a modification on bp-custom.php file, also without success:

    <?php
    /**
    * @package WordPress
    * @subpackage Seeko
    * @author SeventhQueen <themesupport@seventhqueen.com>
    * @since Seeko 1.0
    */

    add_action( ‘bp_complete_signup’, ‘buddydev_redirect_after_signup’ );

    function buddydev_redirect_after_signup() {

    $page = ‘obrigado’;

    bp_core_redirect( site_url( $page ) );
    }

    ?>

    No matter what we do, nothing changes. Any ideas on how to achieve that?

    Any help is much appreciated.

    WP: 5.2.2
    BP: 4.3.0
    Theme: Seeko v. 1.1.5

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