id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 16168 404 error with pagination on custom taxonomy page kamiyeye "If a query with a custom 'posts_per_page' is made in a specific taxonomy template say taxonmy-portfolio_categories.php {{{ $paged = get_query_var('paged') ? get_query_var('paged') : 1; query_posts(array('post_type'=>'portfolio', 'paged'=>$paged, 'posts_per_page' =>$posts_per_page, 'portfolio_categories'=>$category->name)); }}} Assume qualified posts number is 28, $posts_per_page is 6 (thus 5 pages in total), and the option value of ""Blog pages show at most"" is 10, a 404 error will be returned when trying to access the 4th page or 5th page. This only occurs with querys on custom post types or custom taxonomies, not found with querys on build-in post types or taxonomies. " defect (bug) closed normal Permalinks 3.0.4 normal invalid