# Beamer hyperref problem

I am using the hyperref package, and here is my code:

\documentclass[12pt]{beamer}
\usepackage{float}
\usepackage{amsmath}
\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[a4paper,landscape]
\usefonttheme{professionalfonts} %To get the accents aligned correctly, albeit in Computer Modern Roman
\usepackage{hyperref}
\hypersetup{
%filecolor=magenta,
%urlcolor=cyan,
urlcolor=blue,
}

\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\end{beamercolorbox}%
\end{beamercolorbox}%
\end{beamercolorbox}}%
\vskip0pt%
}

\title{Test}                % used by \maketitle
\author{John Doe }
\date{Spring 2020}                  % used by \maketitle
\institute{John Doe University}
\begin{document}
\setcounter{section}{5}
\maketitle                  % automatic title!
\begin{frame}
Click on this link: \href{https://ocw.mit.edu/courses/aeronautics-and-astronautics/16-323-principles-of-optimal-control-spring-2008/lecture-notes/lec5.pdf}{MIT OpenCourseWare, Page 5-18}
\end{frame}
\end{document}



Output:

As one can see, the title in the footer gets highlighted red due the the hypersetup command, and the URL description gets highlighted as expected, but clicking on the description doesn't do anything. I have two questions:

1. How to enable only the URL description to be colored and disable the title coloring in the footer?
2. How to enable the URL description so that when clicked on, the person gets directed to the link?

Don't use \pgfpagesuselayout{resize to}[a4paper,landscape] to resize the page. This moves the text but not the links. I enabled link borders and now you can see that the clickable area is not where you expect it to be: