Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Disable 'activate' page

  • @henrywright-1

    Member

    example.com/activate lets users enter an activation key to complete site registration. Why is this needed?

    My thinking is the activation email is all that is needed. Why would anyone need to manually enter an activation key?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @peter-kuipers

    Participant

    agree: The activate page is superfluous and it causes a lot of confusion!

    Help, how do i get rid of the activate page?

    Activate Page

    @peter-kuipers

    Participant

    @henrywright-1

    Have you found a solution.
    I’ve tried a redirect in htaccess, but it does not work
    /activate/?key=6a5afeefedbf5932
    should be after login something like http://www.domein.nl/welkom

    I’ve found some programmer’s stuff on the issue but I’m not much of a programmer

    @henrywright-1

    Member

    @peter-kuipers

    Yep, I wrote a function to do redirect users away from it. You can add this to your theme’s functions.php

    function bp_redirect_away_from_activate() {
    	global $bp;
    	
    	if ( bp_is_activation_page() ) {
    		wp_redirect( $bp->loggedin_user->domain );
    		exit();
    	}
    }
    add_action('wp','bp_redirect_away_from_activate');

    @peter-kuipers

    Participant

    Thnx Henry

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Disable 'activate' page’ is closed to new replies.
Skip to toolbar