I have a bibliography in my book article as follow :
\documentclass[11pt,a4paper]{book}
\usepackage[pdftex]{hyperref}
\hypersetup{
bookmarks=true,
colorlinks=true,
pdftitle={Title},
pdfauthor={Author},
pdfsubject={Subject},
pdfkeywords={Keywords},
linktoc=toc,
linktocpage=true,
pdfdisplaydoctitle=true,
linkcolor=blue,
urlcolor=blue,
citecolor=blue,
pdffitwindow=true,
pdfstartview=FitH
}
\urlstyle{same}
\begin{document}
\renewcommand\bibname{Ouvrages généraux}
\begin{thebibliography}{9}
\bibitem[og1]{doc1} Indian \TeX\ Users Group, {\it \LaTeX\ Tutorials -- A Primer}, \url{https://www.tug.org/twg/mactex/tutorials/ltxprimer-1.0.pdf}, Trivandrum, India, 2003 September.
\end{thebibliography}
\renewcommand\bibname{Ouvrages spéciaux}
\begin{thebibliography}{9}
\bibitem[os1]{book1} Laurent AUDIBERT, {\it UML 2}, Editions 2007-2008, Institut Universitaire de Technologie de Villetaneuse – Département Informatique, \url{http://www-lipn.univ-paris13.fr/audibert/pages/enseignement/cours.htm}
\bibitem[os2]{book2} Pascal Roques, {\it UM2 - Modéliser une application web}, 4$^\text{e}$ édition, Eyrolles.
\setcounter{firstbib}{\value{enumiv}}
\end{thebibliography}
\renewcommand\bibname{Mémoires}
\begin{thebibliography}{9}
%\bibliographystyle{alpha}
\bibitem[mem1]{mem1} Komlatsè N. NOUKAFOU, Mémoire de fin de cycle Ingénieur 2012-2013.
\end{thebibliography}
\renewcommand\bibname{Références web}
\begin{thebibliography}{9}
\bibitem[web1]{website:wikipedia-MVC} Wikipedia.org, {\it Architecture MVC}, \url{http://fr.wikipedia.org/wiki/Mod\%C3\%A8le-vue-contr\%C3\%B4leur}, consulté ce 13 août 2014.
\bibitem[web2]{website:devlop} Developpez.com, {\it Quel SGBD choisir ?} \url{http://fadace.developpez.com/sgbdcmp}, consulté ce 15 août 2014.
\bibitem[web3]{website:nico} Le blog de Nicholat Hachet, {\it Pourquoi utiliser un framework PHP ?} \url{http://blog.nicolashachet.com/technologies/php/pourquoi-utiliser-un-framework-php/}, consulté ce 12 novembre 2014.
\bibitem[web4]{website:devweb} Graphisme \& Développement web, {\it Utiliser un framework PHP, est-ce toujours un bon choix ?}, \url{http://blog.webodrey.fr/post/utiliser-un-framework-php-est-ce-toujours-un-bon-choix}, consulté ce 31 octobre 2014.
\end{thebibliography}
\end{document}
But referencing items of the Référence web section references the first page of the document, although the thebibliography environnement is on the last page.
Is there something wrong ? Anyone to fill me a solution ?
Edit1 I have completed the code. When adding a footnote today, I remark that the link refers to the first page of the document. How to fix this ?
Edit 2 Correction of an error in the code.
\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Martin Schröder Nov 16 '14 at 12:58