[Tex/LaTex] remove page number in bibliography

bibliographiesnatbibpage-numbering

I do not want page number to be displayed in my bibliography. So I tried gobble like this:

\bibliography{MyLibrary}{}
\bibliographystyle{plainnat}
\pagenumbering{gobble}

It is fine as long as my bibliography is 1 page long. But now my references spread to two pages, only the second page doesn't show page number. The first page (that has the Bibliography heading) still shows page number. How do I remove page number on both pages?
My preamble is as follows:

\documentclass[11pt]{report}
\usepackage[numbers]{natbib}
\usepackage{titlesec}
\titleformat{\chapter}[display]{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge

}

Best Answer

This works for me. Add the line before your bibliography starts:

\renewcommand{\thepage}{}
Related Question