Am having a strange problem and was hoping someone might be able to help me.
Basically, when WP should throw a 404 using my custom template it instead displays the contents of all of my static pages in reverse page-id order.
Has anyone encountered something like this before? Does anyone know (or have any ideas) how to resolve it? It's really unhelpful and annoying!