Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Disable 'activate' page


  • Henry
    Member

    @henrywright-1

    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)

  • Peet
    Participant

    @peter-kuipers

    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


    Peet
    Participant

    @peter-kuipers

    @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


    Henry
    Member

    @henrywright-1

    @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');

    Peet
    Participant

    @peter-kuipers

    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