Leave a Reply

1 comment

  1. Add a filter to login_url:

    add_filter( 'login_url', 'my_login_page', 10, 2 );
    function my_login_page( $login_url, $redirect ) {
        $url = get_permalink( get_page_by_title( 'La mia pagina' ) );
        return $url . '?redirect_to=' . $redirect;
    }