[Tex/LaTex] pdfTeX warning (ext4): destination with the same identifier (nam e{page.1}) has been already used, duplicate ignored

hyperrefwarnings

I get the following warning

pdfTeX warning (ext4): destination with the same identifier (name{page.1})
has been already used, duplicate ignored

when compiling the following document:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}

\title{[Title]}
\author{N.N.}

\begin{document}

\begin{titlepage}
\maketitle
\thispagestyle{empty}
\end{titlepage}

\tableofcontents
\thispagestyle{empty}

\newpage

\section{[Section]}

\end{document}

I have tried find ways to get rid of this warning by searching in other places and I have read PDFTeX destination … ignored and the other question in this place pdfTeX warning: destination with same identifier has been already used, duplicate ignored (weird behavior).

Best Answer

One way to avoid the problem is to change the (invisible) numbering style of the title page:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[pdfpagelabels]{hyperref}

\title{[Title]}
\author{N.N.}

\begin{document}

\pagenumbering{Alph}
\begin{titlepage}
\maketitle
\thispagestyle{empty}
\end{titlepage}
\pagenumbering{arabic}

\tableofcontents
\thispagestyle{empty}

\newpage

\section{[Section]}

\end{document}