• By default settings, unapproved users when they try to login.they get a message “Your account has not been approved yet.”
    I would like to forward unapproved users to another page (for example: rules.php).
    could you please help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Since these users are not logged in, I don’t think there’s a way to redirect them anywhere. However, you could simply add a notice or link on the login page that says, “Getting an account not approved message? Click here for more information.”

    Best regards,
    Rob

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @taleb0088mm,

    This may require customization. You can also try the following code:

    <?php 
    if( isset(  $_REQUEST['err']  )  && $_REQUEST['err']   == "awaiting_admin_review" ) {
     wp_redirect("http://example.com/custom-page/"); exit;
    }
    ?>

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to change the destiantion URL for unapproved users’ is closed to new replies.