“the_author_meta(‘url’)” not working inside “href”

Try get_the_author_meta() instead of the_author_meta().

the_author_meta() echos the output, which you don’t want to do in this case.