# How to add a URL to a latex bibtex file?

I'm using bibtex for my bibliography in latex. I have some URL's I need to cite in the paper. How do I add URLs into the bibtex?

A typical section in my bibtex file looks like this:

``````@conference{eigenfacepaper,
title={{Face recognition using eigenfaces}},
author={Turk, M. and Pentland, A.},
booktitle={Proc. IEEE Conf. on Computer Vision and Pattern Recognition},
volume={591},
year={1991}
}
``````

I tried some misc sections in bibtex but they don't show up in my document.

-

The last time i cited an URL, i used a bibtex-entry of the following form:

``````@misc{bworld,
author = {Ingo Lütkebohle},
title = {{BWorld Robot Control Software}},
howpublished = "\url{http://aiweb.techfak.uni-bielefeld.de/content/bworld-robot-control-software/}",
year = {2008},
note = "[Online; accessed 19-July-2008]"
}
``````

If that does not show up, then it might indeed be a problem with your BiBTeX style.

-

You need to

`````` \usepackage{url}
``````

and then

`````` howpublished={\url{http://my.url.com/}},
``````
-

Depends what BibTeX style you're using. In the ordinary ones I usually use

``````note={\url{http://...}}
``````

in biblatex (and natbib too, I think), you can just write

``````url={http://...}
``````
-

UK TEX FAQ usually have really good answers for TeX related questions: URLs in BibTeX bibliographies

-

Correct me if I'm wrong, but I think you are trying to reference websites and not articles in a journal, for instance. And, having placed said references in a `misc` entry, they don't show up when you reference them. If that is correct, then the problem is your bibliography style (`bst` file) does not have an entry in it for dealing with a `misc` type. I would suggest that you use biblatex as it highly customizable and includes an `online` entry type specifically for your purpose. Alternatively, you could use custom-bib, which will give you a custom `bst` file that would display a `misc` entry. However, I think biblatex is still your best bet.

-