I'm having an issue with pagination on a custom Page template. using
posts_nav_link produces previous and next links on the page, but they don't actually lead anywhere: they go to thesite.com/index.php/page/x instead of thesite.com/index.php/pagename/page/x.
The links they're producing always lead to a 404, obviously.
I'm using the method for pagination and
query_posts found at this thread, but and I'm not sure where I'm going wrong.
Please help me figure out what's wrong here that's keeping my pagination nav links from working properly. This functionality is being used in several places on the site.
It should be noted that pagination does work. If I manually type the proper paginated address, it works perfectly; it's just the previous/next links that don't.