As always, at the very moment you give up, the solution comes before your eyes…
I was using a static page as the posts page, set up in Settings->reading->page for posts. Removing this has solved the problem. Now I have setup a page-blog.php
template, which I have selected as a template for the Blog page and everything works as expected.
Related Posts:
- How do I paginate a custom post type listing on a custom template page?
- Custom post type pagination 404 fix?
- Custom post type archive 404’s with paginate_links
- Pagination throws 404 error on custom taxonomy archive pages
- Pagination throws 404
- Pagination on a custom page template
- Custom Taxonomy archive returns 404
- Pagination gives 404 error
- Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?
- Pagination with custom post types results in 404 issues
- Create second custom 404 page for selected post type
- Help with Elementor Pagination CPT archive 404 problem
- Custom post type pagination 404
- Custom WP_Query always respond with 200 status even when no entry
- Pagination for custom query returns 404
- 404 error next-page [2] PageNavi custom type taxonomy
- Custom Post Type Pagination Not Working or Single Posts Displaying?
- Pagination in custom loop for custom post type throwing 404 error
- WordPress custom post type post and category links 404
- Pagination on category pages using wp_pagenavi causes 404 errors
- Pagination not working with custom loop
- Getting hierarchical custom post type permalinks to work just like pages
- Have different number of posts on first page
- wp_pagenavi() with custom wp_query()?
- Post formats “audio” and “video” only showing in index.php
- Creating a Custom Post Type for Inserting Preset Content into Post & Pages?
- How do I Make a custom post type get a custom post template in a plugin
- Dynamic page.php template for custom post types
- Pagination with custom loop
- Group list of posts by taxonomy and allow for pagination
- How to remove CPT comment feed from head?
- Multiple templates for custom post type
- posts_nav_link on single post template
- Pagination problem in custom post type used as front page
- WP_Query pagination using only numbers instead of /page/1 on URL
- How to make an archive page displaying posts in a date range
- custom post type and custom taxonomy url conflict
- Take Variables Set in Functions.php and Echo Them Inside My Custom Post Template
- How to load custom post archives sub-pages with ajax?
- pagination redirecting from page number url before page requested
- Troubles with making a custom template for posts
- How To Create A Custom Taxonomy 404 Page
- CPT: if more than X images are in post, use pagination
- Change archive page template using pre_get_post
- Custom taxonomy in URL showing 404
- Custom Post Type Draft Preview Goes to 404
- How do I display content to users who are not logged in instead of 404 on Private custom posts?
- Woocommerce search pagination not working
- redirect automatic page that serves custom posttype content
- WordPress showing archive.php instead page
- How To Show All Custom Post Types In A Category Instead Of Pagination?
- Is it possible to to use custom post type types on a page with the same slug somehow?
- WordPress custom post query with pagination
- Custom post type permalink tag 404
- Custom post type / taxonomy rewrite archive page 2 gives 404
- can these 3 queries be re-written as 1 query?
- Page not found for custom post type UI plugin and taxonomy
- Custom rewrite to fetch feed data
- One Custom post type 404’s others don’t
- Custom post type and custom taxonomy 404 on page 2
- Custom taxonomy template shows 404 Error
- Dynamic assign a custom template to custom post type posts
- How to add page under a custom post type?
- Difference between page and paged
- Safe to throw 404 error in request filter?
- Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category
- Pagination in custom post type archive.php not working
- How do I find out which (page) template file my custom child post is looking for?
- Custom Post Type Pagination getting 404 error
- Numeric pagination custom post type
- Problems in paginate_links with custom query loop and MB-Relationships
- How can I use one instance of page.php to display different custom post types?
- Custom post pagination not working
- CPT/Taxonomy/Postname permalink structure makes pagination break
- Some permalinks on Apache/localhost development setup return 404’s when set to anything other than plain permalinks
- How to get a custom post type archive paged when using a custom field for post sorting?
- How to display a custom post as a page (but unedited)?
- Pagination in wp-admin for CPT
- Custom post type , page template not grabbing the page template
- Add pagination to custom page
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- Get Non-Paginated Index of Post in Paginated Query
- custom post type archive slug vs. custom page template
- How to create a custom template for this custom post type?
- Nested custom post types templating
- Custom post type archive pagination with HTML5Blank theme?
- Paginate custom taxonomy category with wp_custom_pagination
- How to divide posts (custom post type) content on multiple pages?
- Custom post type navigation on static page
- Custom pagination [duplicate]
- Pagination not working with custom loop
- how to limit query_post to first page?
- Submiting custom form give error 404
- Pagination not working with custom loop
- send user to first page of results when reposting to page?
- Page template anomaly
- WordPress pagination URL
- Unable to display paging navigation with a custom post type loop
- the_post_navigation in single page with multiple taxonomies
- display related posts based on the PAGE TITLE