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
- Custom post type category pages pagination returns 404
- Filter widget outputs
- Why does my content disapear when I make a page to match an archive name?
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Custom post type archive pagination 404
- Next Post links not working in custom post type shortcode
- Custom post type permalink tag 404
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Custom Theme With Custom Loops
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- Custom Post Types strange pagination problem
- Custom Post Type Template Alternative
- Hierarchical permalinks for custom post type and taxonomy
- General advice on addressing content-centric pages
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- Top Level pages in wordpress giving 404, but child pages working fine
- Fields for different parts of a page
- next_/previous_post_link() `in_same_category` appears to fail when true
- Multiple templates for single custom post type
- can these 3 queries be re-written as 1 query?
- Custom post type pagination – always return first page
- How do you create a custom template to display a category with an image and related posts below?
- cutsom posts 404ing
- WordPress Custom Search by post_type
- 404 in custom post type feed with mistake permalink
- pagination not working for category.php (custom post types in categories)
- Pages Become “Archive” Instead of Using Page Template
- How can I set the page template of a new custom post type post?
- Page not found for custom post type UI plugin and taxonomy
- Custom post type pages return 404 page?
- How to solve this custom post type goes to 404 page?
- Pagination broken by naming conflict between CPT and Page
- Cant get paginations on single.php to work with my custom post types
- Custom post type single page (single-{CPT-name}) 404 when slug includes hyphens
- Multiple single templates?
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- Number of posts in the archive
- 404 Error on form submission within custom post type
- Pagination custom post type not working with rewrite slug
- Pagination Not Working for Custom Taxonomy with Custom Query – 404 Error
- Custom rewrite to fetch feed data
- Pagination Error : Duplicate argument being outputted
- Custom URL redirect in WP
- WordPress Picks Up Wrong Template for Custom Post Type Archive Page
- Associate page w/ specific single post template?
- Can’t use pagination with custom taxonomy
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- Include php on a specific page template
- get comments by current user inside page template
- page template for custom post type
- Trouble with pagination
- Page Template Dropdown For Custom Post Types
- Pagination 404 on Index with custom query
- page not found for single-type.php file
- Custom taxonomy page returns 404
- previous_post_link in same taxonomy in custom post type
- How to do admin CRUD & Pagination
- One Custom post type 404’s others don’t
- Custom ordering of CPT items not matching with the ordering of its pagination
- How to integrate single and archive templates for custom post type in any WordPress theme
- Pagination doesnt work in custom post type
- Custom taxonomy template list not working (404)
- Pagination hitting 404 page on /page/4
- Custom post type permalink returns 404 when set to private
- providing access to post_id or post inside functions.php
- wp_get_canonical_url showing first url of the post for custom page
- Custom page for editing custom post type on frontend based on url
- Custom post type slug 404
- How to filter a custom post type by custom taxonomy without 404
- Break up posts per page in two sections
- Custom Post 404
- 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
- Using Pagination for Custom Post Type and keeps returning 404
- Post type Permalink
- How to get the current category with custom posts
- Pagination on search results page
- 404 Page Not Found on /Page/2/ on Tag Page
- How to list custom post types on a custom post type page?