As you can see in the rewrite analyzer, /projects/page/2/ sets projects=page&page=/2 instead of pagename=projects&paged=2 as we would like. So you just need to add a rewrite rule for this special case (in the register_projects() function, after you register your custom post type, would be a good place):
add_rewrite_rule( 'projects/page/([0-9]+)/?$', 'index.php?pagename=projects&paged=$matches[1]', 'top' );
Remember to flush your rewrite rules, by visiting the Permalinks page or by some other way.
Related Posts:
- Custom post type pagination 404 fix?
- Pagination throws 404 error on custom taxonomy archive pages
- Custom Post Type Archive Page: Set Posts Per Page, Paginate
- Multiple Paginations on one Page
- Archive page…limiting posts per page
- Custom Post Type Archives by Date (stored as meta value) WP3.1
- paginate function in archive for custom-post-type
- Custom post type archive page pagination
- How can i change the output of posts_nav_link();
- Custom Post Type Archive Pagination
- Custom post type pagination problem – page 1 and 2 show same content
- paging is not working properly on news archives page [duplicate]
- Pagination not working for archive
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Setting up custom post type archives in WP3.1? Any luck?
- How to show more posts on an archive page?
- Pre get posts for single post
- Pagination not working with custom category template
- Display all custom post types in archives.php
- Custom Post Type pagination – normal solutions aren’t helping
- Pagination Doesn’t Work
- Numeric pagination custom post type
- Posts in Multiple Columns and Rows with one single loop
- Include Custom Posts Type in Year/Month/Date Archive
- where can I see my custom post type archive template?
- Pagination not working
- Pagination Custom post type
- Custom Post Types and archives
- How to get “custom post type”-archive with working permalink to it?
- Unable to get paginate_links working with a custom query [duplicate]
- Custom post type, permalinks & pagination, going wrong
- Custom template page with custom archives listing by user
- Pagination for custom php code
- Root slug of taxonomy returning 404
- Pagination for Custom Taxonomy Page [duplicate]
- Paging doesn’t work?
- Custom taxonomy rewrite give pagination 404
- Next and Previous Posts of Same Parent
- Next Post links not working in custom post type shortcode
- Custom post type pagination – always return first page
- How can I get this request to use the Custom Post Type page template instead?
- Number of posts in the archive
- What’s the name of the custom post type yearly archive template?
- How can I use archive-{post_type}.php theme template?
- Taxonomy archive 404ing (not term archive)
- Custom taxonomy or custom page templates?
- Can anyone clarify difference between archive-{posttype}.php, type-{posttype} and date.php?
- How do I add custom HTML to the content of an archive page’s posts?
- Pagination doesnt work in custom post type
- Use the custom post type archive for taxonomies?
- Custom Post Type setup
- Pagination on search results page
- 404 Page Not Found on /Page/2/ on Tag Page
- Pagination for custom post types – url rewriting
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- Taxonomy rewrite pagination 404
- pre_get_posts works in post type archive but not in single post
- Menu’s breaking, now showing all page links on site
- How can I tell if I’m on a custom post type archive page?
- Add pagination to custom single post template
- get_query_var(‘paged’) return 0 in custom category page
- users post count
- Remove custom taxonamy slug with pagination
- Custom WordPress theme not displaying posts from category
- Add Pagination in custom Blog page template
- Custom post type, next and previous links by page title
- Custom Post Type archive page listing a 404 or single post
- Order archive custom posts by taxonomy term [duplicate]
- The page or ad listing you are trying to reach no longer exists or has expired
- One of my headings is mysteriously coming up as a link in my CPT Archive
- How to add pagination to a post loop in a custom BuddyPress tab
- Post navigation doesn’t show (in custom template, custom post type, custom query)
- I broke it! Custom post type archive gets redirected to home
- 2 custom posts types, in their own columns, one pagination for both
- Custom Post Type tag taxonomy “Page Not Found”
- Paging not working for hierarchical custom post type
- Custom taxonomy in custom post type archive with pagination
- why custom post archive gives always no more than 10 posts despite of paging settings?
- Pagination on custom post types
- How to display data with pagaination on backend?
- Custom Post Type Pagination Not Working or Single Posts Displaying?
- 404 error Custom search results page for custom post types with friendly URL
- Archive.php is not displaying tags
- previous_posts_link returns null when querying custom post type
- Custom Post Type Pagination for Bones Theme [duplicate]
- Custom post type category page not working
- Pagination with Custom Post Type
- Custom Post Types Archives and daily/monthly joke
- Pagination URL order
- Paged within a custom content type template [duplicate]
- Categories in custom post types
- How to make a list of posts displaying them 5 by 5 with a “next posts” link?
- is_singular won’t call my functions?
- Query Custom Post Type and sort by year
- Custom post types not using archive structure
- How to turn custom-post archive into an overview page, listing the metadata of the posts?
- Remove plugin’s custom post type archive page and single pages [closed]
- Pagination not working in custom post type
- Pagination on category pages using wp_pagenavi causes 404 errors