The issue is that before your custom queries load, WordPress runs the main taxonomy query (all results in that tax term, 10 per page). On page 6, the main query is trying to load posts 51-60, and since they don’t exist the page 404’s before you have a chance to load your custom query.
Customize the main query using the pre_get_posts hook so that the second loop you’re doing is the main query. Add this to functions.php: https://gist.github.com/1616098
Then for your second loop, just do:
if( have_posts() ): while( have_posts() ): the_post();
More information: http://www.billerickson.net/customize-the-wordpress-query/
Related Posts:
- posts_per_page & pagination conflict
- Broken pagination
- Broken pagination, need help figuring out why!
- Hide featured post on second page
- Is it possible to have pagination with an offset loop?
- Offset a post in the loop, with using PageNavi Plug-in
- Why do next pages load the same content rather then older articles?
- Add pagination to my custom loop [duplicate]
- Page with Multiple Loops Breaking Pagination
- Pagination Not Working When Modifying Loop Based on Post Category
- Pagination in author, category, archive and tags pages does not work
- Blog pagination WITHOUT using max_num_pages
- Page not found yet the posts are listed?
- split wordpress loop into columns of categories and associated posts
- The pagination doesn’t work
- How to fix pagination for custom loops?
- Pagination not working with custom loop
- Is it possible to paginate posts correctly that are random ordered?
- How to determine if I’m on the first page of pagination?
- Changing pagination list class
- How to determine if theres a next page
- WordPress /page/2 404 pagination problem – what to do?
- Paged posts – how to use numbers and next/previous links?
- Why do you need an unlikely integer in paginating?
- Have different number of posts on first page
- Multiple WP_Query loops with Pagination
- How to display pagination links for WP_User_Query?
- How to show a single post on the front page but have normal paging?
- How to add CSS Class to previous_post_link or get previous/next post link URL
- Pagination resolving to first page only
- how to get pagination link url?
- add_rewrite_rule – working fine but broken for pagination
- wp_pagenavi() with custom wp_query()?
- How to get the number of Pages in a single Post Pagination?
- Aggregate comments, with pagination
- post pagination names, not numbers
- Pagination returns 404 after page 20
- How to fix pagination after rewriting url? ie. www.site.com/players/type/pro/page/3/
- Display “Page 3 of 5” for a paginated post
- Implementing a general Table of Content across single paginated post pages
- Paginate links with “ugly” and “pretty” permalinks?
- Pagination of RSS2 feed
- Pagination not working on home page
- Strange paginate_links behavior. First page link is always whatever page I’m on, all other links are correct
- Custom Post Type Pagination Not Working On Archive Page
- Custom Post Type Archive Page: Set Posts Per Page, Paginate
- Pagination with WP_Query is buggy – working for some pages, but not the others
- Custom WP_Comment_Query with pagination and orderby?
- Get the number of posts from the current page results
- Pagination: How do I always show ‘previous’?
- Next/Previous Links in same category
- How To create ajaxed wp-pagenavi?
- Single Page View for Paginated Posts
- How can I see all of a post’s comments on a single page as a reader, if pagination is enabled?
- Archive page…limiting posts per page
- Using paginate_links() to generate “1, 2, 3 … 10, 20, 30, 40… 55” paginations
- Change class=”page-numbers” in pagination
- Pagination with 5 posts per page
- Check if on last page of paginated post using wp_link_pages
- Varying the number of posts per page from the first one
- Using pagination with get_posts on page type
- List posts based on first letter of posts
- Pagination for sub-pages
- WordPress category & taxonomy loop with pagination
- Pagination/infinite scroll with WP_Query and multiple loops
- How do I prevent one of two multiple loops from repeating on a second page?
- Modifying WP_LIST_AUTHOR Functions to output all users in a grid (and Paginate)
- How to get post pagination like this
- How to paginate a list of tags
- Pagination Not Displaying on Custom Term Archive
- Non existing blog pages are not redirected to 404
- Pagination go to first page if i’m on last post
- How to implement pagination eg. newer – 3 – 4 – 5 – 6 – 7 – older
- Posts in Multiple Columns and Rows with one single loop
- How do I sort multiples pages?
- Two custom loops, pagination, offset
- Problem: ( kriesi ) pagination doesn’t work in homepage [duplicate]
- Custom loop pagination issue ( pagination not showing up )
- WordPress pagination on custom script
- Combining WordPress pagination functions for archives and search results
- Newer/Older posts links display same posts on every page
- Pagination is not working wp_query custom fields values
- Passing custom args in paginate_links
- Limit number of pages in pagination
- wordpress Static Page pagination
- Static front page with recent posts pagination
- How to ignore or disable nextpage tag?
- Paginate tags page
- Search results with custom loop don’t update when paged
- pagenavigation not showing the next page just linking back to the main page [closed]
- Pagination Not working on Home Page with 2 Query
- Category pagination shows same posts
- How to display next and prev pagination links with WP_User_Query?
- Custom taxonomy list and sortby letter pagination problem
- Paginate a list of users?
- Move pagination numbers above plug-ins
- Custom Page Template for “Older Posts” Pages
- Allow Users to Choose Pagination or Next/Previous (Combine)
- WordPress Pagination not displaying posts after certain page
- Previous and Next Post link doesn’t work