Hi
I've been working on a particular website all day, and it just seems that the moment I fix one thing, another thing breaks. Now it's the turn of the posts_nav_links().
I originally omitted it from the template (I created it myself) but changed my mind - I don't want to set posts_per_page=-1.
The first place I put it in was archive.php.
I'm running one testbed locally and one live on the net - both are as identical as possible (minor configuration differences exist), and have the same issue.
For testing purposes set posts_per_page=2. I navigate to domainroot/2010/04 and it loads the archive for April 2010 with the two newest posts, as expected. But when I click on the next page link, it comes up with the "page not found" message - which is what it's been set to show in the else section of The Loop. On my local test machine, page/2/ comes up with the error. On the server page/2/ works but page/3/ doesn't.
I can't make sense of it.
I'm using WP 2.9.2, and I've got the WP No Category Base plugin enabled. I thought that the plugin may be causing the issue, but it's still broken after I disabled the plugin.
Any help would be much appreciated.