# How to make a URL link underline in Bibliography?

I just want to make my URL link underline.

For example below:

I can provide my MWE if needed. I am thinking is it just add some commend like:

\DeclareFieldFormat{url}{Available at\addcolon\space\url{#1}}

• That is not really an underline, it is a hyperlink, see the hyperref package Oct 22 '19 at 23:26
• @daleif I dont think is here overleaf.com/learn/latex/Hyperlinks
– aan
Oct 22 '19 at 23:35
• It is the same thing, note also it may be an artifact of the 9df viewer. The the hyperref manual for details Oct 22 '19 at 23:37
• @daleif could you write an answer?
– aan
Oct 22 '19 at 23:57
• Oct 23 '19 at 0:21

Underlining in LaTeX is hard and I would in general try to avoid it as much as possible.

One way to get an 'underlined' URL is to fake the underlining with the boxes around links in hyperref. This is only a faked underline though since the boxes are not printed. See for example How can I have colored and underlined links with hyperref?.

Another method is explained in How do I underline the DOI in the bibliography using biblatex/biber? (Context: continued work on SAE class) (and stolen from I cannot get a (properly) underlined hyperlink in blue)

\usepackage[normalem]{ulem}

\makeatletter
\DeclareUrlCommand\ULurl@@{%
\def\UrlLeft{\uline\bgroup}%
\def\UrlRight{\egroup}}