I'm having some issues with page numbering in my LaTeX document. I would like the odd numbered pages to display the page number on the left and the even numbered pages to display it on the right.

I've followed the wiki by the book but it always displays the pages on the left side no matter what; http://en.wikibooks.org/wiki/LaTeX/Page_Layout

This is what I have so far:

\begin{document}
\pagestyle{fancyplain}
\fancyhf{}
\renewcommand{\footrulewidth}{1pt}

Are you using the twoside class option and \pagestyle{fancy}? –  Gonzalo Medina Apr 29 '12 at 16:36