The problem is that your first rule is capturing anything that begins with news/archive/
.
Add the $
anchor to match only news/archive/
:
add_rewrite_rule(
'^news/archive/?$',
'index.php?post_type=news&news_archive=true',
'top'
);
Your pagination rule will then begin to work as-is after you flush permalinks.
Related Posts:
- Pagination Doesn’t Work
- How can I get custom post types to recognize pretty permalink variables?
- Custom post type archive 404’s with paginate_links
- Changing the URL Structure of a Paginated Custom Post
- Number of pages – multiple (custom) post types
- WordPress search: pretty URLs (permalinks), custom post types and pagination
- Related posts by author pagination not working on the production site
- Secondary loop pagination on custom post type single post gets redirected to first page
- Numeric pagination custom post type
- Pretty paged permalinks in custom post type loop
- Custom wp_query pagination – next_posts_link() or wp_pagenavi() always empty
- Custom Taxonomy List links being re-written
- custom post type paging not working past page 3
- WP_Query pagination using only numbers instead of /page/1 on URL
- Pagination not working
- Pagination Issue: Custom Post Type In Index
- Custom query form submission pagination
- Paginated Taxonomy Term Archive including one post per term
- WordPress rewrite my URL when i use pagination
- Unable to get paginate_links working with a custom query [duplicate]
- Custom post type, permalinks & pagination, going wrong
- Pagination on category page with custom post types
- How to add pagination to wp_query [duplicate]
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Pagination on a custom post type loop
- Previous/Next Link by Meta Value in CPT
- Pagination for Custom Taxonomy Page [duplicate]
- Pagination on with query_posts in custom post type template
- Help with Elementor Pagination CPT archive 404 problem
- Custom taxonomy rewrite give pagination 404
- Woocommerce search pagination not working
- How do you paginate a query grouped by month?
- Pagination issue on category.php using custom post type query
- How to have this permalink structure: post_type/postname/custom_inner_page
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- can these 3 queries be re-written as 1 query?
- pagination not working for category.php (custom post types in categories)
- Custom WP_Query always respond with 200 status even when no entry
- Can’t use pagination with custom taxonomy
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- Trouble with pagination
- Pagination 404 on Index with custom query
- Custom post type and custom taxonomy 404 on page 2
- Pagination for search results of custom post type [duplicate]
- Pagination of custom post type leads to 404 error
- Custom Post Type Archive Pagination
- All blog posts are not showing up
- Single parent post lists child posts with pagination
- Custom post type pagination error
- Previous / Next Links For Custom Post Type Sorted By Meta_Value
- custom taxonomy pagination 404 error
- Pagination in custom post type archive.php not working
- Pagination Not Working When Used With WP_Query() `offset` Property
- Numeric pagination custom post type
- Problems in paginate_links with custom query loop and MB-Relationships
- Permalink for custom post type pages not working
- WordPress doesn’t respect Page slug in custom post type url pagination. Keeps getting removed
- Make pagination work as a carousel (custom query)
- Pagination not working (page/2 retunring 404 page)
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- Custom taxonomy in custom post type archive with pagination
- why custom post archive gives always no more than 10 posts despite of paging settings?
- Custom Post Type + Category archive
- query and paginate multiple post types
- Issue with permalinks for custom post type
- Custom post type blog pagination conflict
- Custom post type pagination, single page issue
- Pagination always adding “Next” link when results come from Custom Post Type WP_query
- Paged within a custom content type template [duplicate]
- Pagination not working on homepage
- send user to first page of results when reposting to page?
- Fourth page of custom post type archive page does not exist
- Pagination broke after updateto WordPress 3.4 [duplicate]
- Archive page – problem with pagination
- Wp-theme Development
- Permalinks: custom post type -> custom taxonomy -> post
- Mixing custom post type and taxonomy rewrite structures?
- Mixing regular and custom post types (with meta_query) on home page
- Archive page…limiting posts per page
- Use WP_Query object inside a function
- WP_Query search custom posts meta date fields
- Pagination go to first page if i’m on last post
- Pagination throws 404
- single-type.php not working, delivering 404
- How to create a permalink for custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Query for custom posts with a specific tag slug
- WordPress Orderby Numeric Value Not Working
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- Make custom post types and pages place nice, re: rewrite
- Pagenavi Plugin and Custom Post Type – Multipage results
- Custom Taxonomy Archive generates 404
- Post navigation doesn’t show (in custom template, custom post type, custom query)
- How to retrieve custom post type permalink in another cpt?
- How can I use WP_Query argument ‘Like %..%’?
- Pagination with Custom Post Type
- Query child posts on parents single.php?
- Custom Post Type and Taxonomy pagination permalink
- Customising wordpress search and using $_GET[“s”]
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Modify permalink of CPT archive to support two taxonomies