Thanx but it does not work:
its echos the path but the ID is no where?
any otherr ideas?
<?php
if(isset($_GET[‘author_name’])) {
$curauth = get_userdatabylogin(get_the_author_login());
} else {
$curauth = get_userdata(intval($author));
}
echo get_author_posts_url($curauth->ID); ///prints:https://lokaal108.nl/wpaanmelden/author/
?>