• I was using this code to redirect to a custom login page (had it in my functions.php file):

    /* customizing the login link */
    function gv_login_url( $login_url, $redirect, $force_reauth = false ) {
    $login_url = site_url(‘login/’, ‘login’);
    if ( !empty($redirect) )
    $login_url = add_query_arg(‘redirect_to’, urlencode($redirect), $login_url);
    if ( $force_reauth )
    $login_url = add_query_arg(‘reauth’, ‘1’, $login_url);
    return $login_url;
    }

    add_filter(‘login_url’,’gv_login_url’,10,3);

    Once I upgraded to 4.4, this no longer works and I had to remove it to get the login to work. How can I fix this??? I’m actually ironically supposed to put this site live TODAY – I can’t do that with this broken, my client wants a custom login page.

    Thanks,
    Sharon

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can try Custom Login URL plugin.

    Thread Starter scolombo

    (@scolombo)

    That seems to do nothing more than masking the URL for the login page, it does not show my custom login page instead of the WordPress branded login page. I am going to rollback to the previous version of WordPress, sadly (and tediously) for now until this is resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login Redirect Not Working after 4.4 Upgrade’ is closed to new replies.