I've developed a custom post type for WordPress that has quite a few entries that require pagination. I used the *paginate_links* function and it creates the pagination appropriately, rendering links that look like this:
http://mysite.com/people/page/5/
But whenever one of the links is clicked on it returns a 404 message error. I suspect this has something to do with permalinks and my .htaccess file, but the permalinks for my posts and pages work just fine, so I'm confused.
Can anybody help me with this? Thank you!
EDIT: Here is my query:
query_posts('post_type=peoplemanager&meta_key=people_lastname&orderby=meta_value&order=ASC&paged=' . get_query_var('paged'));
The name of the page where the output is displayed is "people."