# How to get rid of the page number

I customized my footer so that the page number will be on the right side of the footer instead of its default location which is the center of the footer. When I generated my file, the page number appeared on both the right side and the center. How do I get rid of the page number in the center?

Also, how do I get rid of the header?

\usepackage{fancyhdr}
\pagestyle{fancy}
\lfoot{\textsf{www.economics-ejournal.org}}
\rfoot{\thepage}

\begin{document}
Content here.
\end{document}

• Please add a minimal working example! – Marco Daniel Aug 24 '14 at 12:31
• Add \fancyhf{} after \pagestyle{fancy} – user11232 Aug 24 '14 at 12:36
• @percusse: I did not check what Haris Kumar proposed, I referred to Reg' statement, that it worked ;-) – user31729 Aug 26 '14 at 20:14

Converting my comment in to answer, just to close this.

When you define and apply a fancy page style, you need to empty the previous values/definitions of headers and footers. This is done by issuing

\fancyhf{}


in the definition as

\pagestyle{fancy}
\fancyhf{}        %% <--- here
\lfoot{\textsf{www.economics-ejournal.org}}
\rfoot{\thepage}

In my opinion, for your requirements the answer provided by Harish Kumar should be sufficient. As an alternative, following two lines can replace \lfoot and \rfoot commands in that answer:
\fancyfoot[L]{\textsf{www.economics-ejournal.org}}