Redirect Users after registration to the sign up page

This topic contains 3 replies, has 3 voices, and was last updated by  Paolo 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #390688

    Joe Dinnis
    Free User
    Post count: 8

    Hello,

    I’m trying to redirect users after registration to my sign-up page. I’ve used this code in the functions.php, but its redirecting back to the standard home page. Any idea why? Thanks, Joe.

    // this redirects users after they register to the sign-up form
    add_filter(‘geodir_login_url’,’_my_geodir_login_url’,10,3);
    function _my_geodir_login_url($login_url,$args,$gd_page_id){
    if(isset($args[‘signup’])){
    //change the url to whatever you want.
    $login_url = ‘https://prolearner.co.uk/add-listing/?listing_type=gd_place’;
    }
    return $login_url;
    }

    #390746

    Kor
    Moderator
    Post count: 16516

    Hi Joe,

    Please share the URL of the site in question so we can take a better look at it and also WP temp admin access to your site. You can post the details here using the private reply option below.

    #391636

    Joe Dinnis
    Free User
    Post count: 8
    This reply has been marked as private.
    #391719

    Paolo
    Site Admin
    Post count: 31211

    you can use a dummy email address like [email protected]

    Thanks

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount