Check if comment author has url

Solution

Thanks to shanebp answer here

<?php if( get_comment_author() == get_comment_author_link() ) 
                    comment_author_link();
                    else 
                     echo '<a href="https://wordpress.stackexchange.com/questions/314265/site.com/go?url=". get_comment_author_url() ."" target="_blank">'. get_comment_author() .'</a>' ?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)