get_comment_author_link not working properly

Simple solution drop this in your functions.php

function your_get_comment_author_link () {
    global $comment;

    if ($comment->user_id == '0') {
        if (!empty ($comment->comment_author_url)) {
            $url = $comment->comment_author_url;
        } else {
            $url="#";
        }
    } else {
        $url = get_author_posts_url($comment->user_id);
    }

    echo "<a href=\"" . $url . "\">" .get_comment_author () . "</a>";
}

If the user is registered this will link to /writer/username, if they are not it will either link to their url or to # if they haven’t provided one.

Obviously to use it you’ll want use it in your code using

<span><?php your_get_comment_author_link() ?></span>

Taken from Johan suggestion in comments.