Home Forums Plugin Support WP User Frontend Pro Too Many ReDirects

This topic is: resolved

This topic contains 6 replies, has 4 voices, and was last updated by  Chris Swede 4 years, 8 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #26379

    JohnnyL
    Participant

    Hello,
    Im using the latest version of WP User Frontend Pro…When I activate the plugin I get an Too Many ReDirects error and can no longer log into WordPress…Any Ideas on how to resolve ?

    Cheers,
    Johnny

    #26421

    Sekander Badsha
    Member
    Post count: 2067

    Hello Johnny,
    This issue is fixed on the latest update. Please make sure you're using WP User Frontend 2.2.4
    If using 2.2.4 does not help, you should set a page for login in the settings. That should not make any changes to your system but solve your redirect issue.

    #26433

    Denis
    Participant
    Post count: 165

    logut still not working, even in version 224.

    #26511

    Sekander Badsha
    Member
    Post count: 2067

    Hello Denis,
    Did you set a page for login? If yes and still its not working on your end, check for theme or plugin conflicts.

    #26518

    Denis
    Participant
    Post count: 165

    The thing is, i use Meta-User Plugin pro for registration login Logout cause it fits My needs. And why is it not possible just to use the wordpress login/Logout without choosing a page?
    Cheers,
    Denis

    Von meinem iPhone 4S gesendet

    #26634

    Sekander Badsha
    Member
    Post count: 2067

    You can use the default login logout page of WordPress, if you don't force to change the login/logout page. You just need to place the page to avoid redirect conflict.

    #26939

    Chris Swede
    Member
    Post count: 56

    Denis, try the following edits of WPUF file login.php:

    Comment out line 28:

    // add_filter( 'logout_url', array($this, 'filter_logout_url'), 10, 2 );

    And from line 360:

    // function process_logout() {
         //   if ( isset( $_GET['action'] ) && $_GET['action'] == 'logout' ) {
         //       check_admin_referer('log-out');
         //      wp_logout();
    
         //       $redirect_to = !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : add_query_arg( array( 'loggedout' => 'true' ), $this->get_login_url() ) ;
         //       wp_safe_redirect( $redirect_to );
         //       exit();
         //   }
        // }

    Should solve your problem.

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

The topic ‘Too Many ReDirects’ is closed to new replies.