Thank you for your answer.
I’m sorry. My explanation was not enough.
I want to make Member list page that link with a Member individual page.
I tryed with the below code in custom Page Templates(members.php):
<?php
$users =get_users( array('orderby'=>ID,'order'=>ASC,) );
echo '<div class="users">';
foreach($users as $user):
$uid = $user->ID;
$userData = get_userdata($uid);
echo '<div class="user_list_wrap">';
echo '<div class="user_avatar"><a href="' .get_bloginfo(url).'/?author='.$uid. '">';
echo get_avatar( $uid );
echo '</a></div>';
echo '<div class="user_info_list">';
echo '<h2 class="nickname"><div class="user_cap">name:</div>'.$user->display_name.'</h2>';
echo '</div>';
echo '</div>';
endforeach;
echo '</div>';
?>
but output URL was below:
https://example.com/ninja/master-ninja/?author=1
(example)
URL was do not redirect. (but customized author URL is exist. e.g. https://example.com/member/master-ninja/
)
This code is wrong? or Do you know other ways.
Thanks!