Just gonna ask a question from 4 years ago:
"I've seen a pdf LaTeX document where the page numbers at the bottom of the page are hyperref links, and clicking them causes you to jump to the contents table. I don't have the tex file and couldn't work out how it's done from the hyperref package. Can anyone help?" https://stackoverflow.com/questions/3393606/how-can-i-get-page-numbers-to-link-to-the-table-of-contents-in-latex
Exactly this is the thing I want. Unfortunely non of those answers work. Of course I could put a "\hyperref" at every page, but if I have a 100 site essay, that will take quite a long time.
EDIT:
\documentclass[10pt,a4paper,colorlinks]{article}
\usepackage[german]{babel}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{hyperref}
\usepackage{tocloft}
\usepackage{lipsum}
\begin{document}
\tableofcontents
\thispagestyle{empty}
\setcounter{page}{0}
\newpage
\section{Text 1}
\lipsum{1}
\newpage
\section{Text 2}
\lipsum{2}
\end{document}
Hopefully I didn´t deleted something related. Set
%\thispagestyle{empty}
%\setcounter{page}{0}
To be able to see the first page number on the first page.
\rfoot{\hyperref[TOC]{\thepage}}
? Assuming you're using thefancyhdr
package.