Skip to:
Content
Pages
Categories
Search
Top
Bottom

User registration redirect


  • craftygeek
    Participant

    @craftygeek

    Hi – i’ve been trying out various options for setting up a forum within/alongside wordpress.
    It looks like my final choice will be bbPress – however I still seem to have one outstanding issue that I can’t seem to solve (have done plenty of searching as well).

    The install is fresh today with current versions of wordpress & bbPress – no other plugins are currently enabled & i’m just using the twenty twelve theme at the moment.

    I have set up a registration page using the registration short code.
    When you submit a registration, it takes you to the WP-admin login page…i’d prefer to keep the user in the front end at all times & direct them to a landing page to say thank you & check your inbox.

    How can I do this?

    Thanks

    Tom

Viewing 3 replies - 1 through 3 (of 3 total)

  • xmasons
    Participant

    @xmasons

    Here’s what I have in my functions.php file to keep people who shouldn’t have access to WP admin pages.

    `
    function no_admin_access()
    {
    if ( !current_user_can( ‘publish_pages’ ) ) {
    wp_redirect( home_url() );
    die();
    }
    }
    add_action( ‘admin_init’, ‘no_admin_access’, 1 );
    `


    craftygeek
    Participant

    @craftygeek

    I’m sure that will be useful, but it doesn’t solve the problem (I just tried).

    If a user completes the registration form, they are then taken straight to wp-login.php.
    I want to prevent this & send them to a confirmation page instead.


    craftygeek
    Participant

    @craftygeek

    Ok – i’ve managed to solve it.

    I’ve installed the Quick Page/Post Redirect Plugin
    then setup a quick redirect for /wp-login.php?checkemail=registered & have set it to redirect to a confirmation page.

    Looks like it could be a very useful plugin – one to remember.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.