# Delete "URL:" prefix in biblatex online entries? include date visited?

The source below produces with biblatex's numeric style the prefix "URL:" to the URL of an online type bibliography entry:

1. What file(s) need to be modified so as to eliminate that "URL:" prefix? I've searched through numeric.bbx, standard.bbx, and biblatex.sty but not been able to find any specific place where that prefix is created.

2. Is there a field, style mod, or other means for including the online item's date of access other than as I've done it with the addendum field? I'm aware that english.lbx, in its \DeclareBibliographyStrings section, does define a dateseen, but where and how does one use it?

The source:

\documentclass{memoir}

\begin{filecontents}{refs.bib}
@online{mathworld:Topology,
author = {Wikipedia},
title  = {BibTeX---{W}ikipedia{,} The Free Encyclopedia},
year   = {2016},
url    = {https://en.wikipedia.org/wiki/BibTeX}
}
\end{filecontents}

\usepackage[backend=bibtex,style=numeric]{biblatex}

\begin{document}

\nocite{*}
\printbibliography

\end{document}


You need to look in biblatex.def and english.lbx to deal with the 'format' of how URLs are defined. The .lbx files contain the bibliography strings such as 'visited on' (the original definition for the field urldate).

This question is a good example of why loading babel or polyglossia is strongly recommended regardless of whether your document is monolingual or not.... (And, I should add, csquotes!)

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@online{mathworld:Topology,
author = {Wikipedia},
title  = {BibTeX---{Wikipedia}, The Free Encyclopedia},
year   = {2016},
urldate = {2016-10-27},
url    = {https://en.wikipedia.org/wiki/BibTeX}
}
\end{filecontents}

\documentclass{memoir}

\usepackage[american]{babel}
\usepackage[strict]{csquotes}
\usepackage[backend=bibtex,style=numeric]{biblatex}

% Original definitions in biblatex.def
\DeclareFieldFormat{url}{\url{#1}}
% \DeclareFieldFormat{urldate}{\mkbibparens{\bibstring{urlseen}\space#1}}
\DeclareFieldFormat{urldate}{\mkbibbrackets{\bibstring{urlseen}\space#1}}

% Original definition in english.lbx:
% urlseen =    {{visited on}{visited on}},
\DefineBibliographyStrings{american}{%
urlseen =    {accessed},
}

\begin{document}

\nocite{*}
\printbibliography

\end{document}

• Is it possible to redefine uirlseen without loading babel? And , is csquotes needed in either case? Oct 28 '16 at 2:58
• OK, I see that if we use \DefineBibliographyStrings{english}{url seen = {accessed}} then babel is not needed. Oct 28 '16 at 3:02
• Yes, but why not load it? Without them, you will not get "American style punctuation," but the so-called "British sort of punctuation", though you'll note that double quotation marks are still used rather than 'inverted commas'.
– jon
Oct 28 '16 at 3:07
• You will also (possibly) be using British hyphenation and not American hyphenation by default. (Not that I'm bashing it! -- As a Canadian, that'd be fine with me, but you may have a different opinion.)
– jon
Oct 28 '16 at 3:11
• @murray -- It's hard to know what to suggest for .tex files I haven't seen. But, as a generalization, I'd say that a .tex file that can't handle babel being loaded may well deserve some serious scrutiny. There may actually be some serious problems with the file(s)...
– jon
Nov 16 '16 at 5:48