Hopefully this will provide some answers to anyone who runs into a similar problem.
I had copied/created a (poor) function in my functions.php file that was looking for specific templates and if they were not found it would set $wp_query->is_404 = TRUE
and that was the cause of the problem.
Of course, the higher-level answer is let WordPress work for you. If you structure your template files correctly, you don’t need to look for them yourself.
Related Posts:
- An empty Custom Post Type Archive page returns 404 in WP 3.1
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- Custom post type archive pagination 404
- Cannot create custom post types with a specific name
- Custom post type single page returns 404 error
- How to remove custom post type archive
- How to use a custom post type archive as front page?
- Custom Post Type Archives by Year & Month?
- Getting hierarchical custom post type permalinks to work just like pages
- Get custom post type slug for an archive page
- Create a custom archive page for a custom post type in a plugin
- Custom Post Type Settings page, choose page to display archive
- Adding a menu item for a Custom Post Archive
- Custom Post Type Archive Page not showing
- Adding custom post type archives to a WordPress menu
- How to set a custom post type to have viewable future posts
- Custom post type pagination 404 fix?
- Inconsistent temporary 404s on whole install | PHP error with post-template.php
- Custom Post Type Template – Archive
- Page Template as Custom Post Type Archive
- Custom post type 404s with rewriting even after resetting permalinks
- Custom post type yearly/ monthly archive permalinks
- Can’t get post id on page that is a custom post type archive
- Custom Post Types 404 Issue
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Custom post type archive 404’s with paginate_links
- How do you create an archive for a custom post type from a plugin?
- Pagination throws 404 error on custom taxonomy archive pages
- 404 on child page when parent page slug is identical to custom post type
- Proper way of making custom post type landing page or archive page
- Custom Post Type Archives by Date with Custom Permalink
- Single custom post type page redirecting to 404 page
- How to List All Custom Post Types Names (Not Posts)
- Change title in head on Archive page
- Custom Post Type Archives with 0 Posts Redirects as 404
- Hierachical Custom post types permalinks not working
- How to disable a Custom Post Type Feed?
- How can i avoid the permalink start with ‘blog’ while using the custom post type?
- How to filter custom post type archive by meta value
- What are the advantages of using a custom post type archive?
- Page is defaulting to archive page and not designated template
- custom post type archive page url to point to Page permalink
- “Edit” option for custom post types archive page
- Custom Post Type archive as front page
- Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?
- Get monthly archives for custom post type
- Is it possible to remove the posts_per_page limit on a specific post type?
- Add Settings to Custom Post Type
- Child pages on hierarchical Custom Post Types 404s
- Is it possible to have an index page for taxonomy term for each custom post type it is assigned to?
- Custom post type permalink structure with the category also acting as an archive
- How to get_queried_object on multiple objects?
- WordPress custom post type category pagination 404 Error
- Assign Page Template Within A Custom Post Type
- Custom Post Type / Taxonomy Slug / Post Title with post type archive
- Rewrite custom post type url’s adding meta box values
- I can’t set meta_key in my custom post type query
- Hide child term posts on parent term pages
- Pagination throws 404
- Posts per Page on custom Taxonomy Template
- Compare 3 custom fields and sort by oldest
- Post type archive page not working
- Adding Sticky functionality to Custom Post Type Archives
- How do I redirect all 404 errors of a specific post type to another URL?
- Removing CPT slug from URL results in 404 error for archive page
- WordPress monthly archive links result in 404
- Remove Slug from Custom Post Type results in 404
- How to remove CPT comment feed from head?
- paginate function in archive for custom-post-type
- Adding custom post types to archive.php
- Custom Post Type – Archive page title
- Alphabetical sorting of custom post type – one letter per page
- List all posts in Custom Post Type but group dynamically by Custom Taxonomies
- Archive page for taxonomy of custom post type
- Add meta data to the custom post type ARCHIVES page
- Should I change these content meta types before building complex archive page?
- Custom Taxonomy archive returns 404
- archive-{$post_type}.php not loading. instead the default archive.php loads
- Pagination gives 404 error
- Getting taxonomy terms used by custom post type
- Custom post type archive sorted and grouped by date in post meta field
- Custom Taxonomy 404
- Archive or taxonomy pages not working for custom post type
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- Custom Post Type archive giving 404
- How to create archive page for taxonomy terms within custom post type
- How to make an archive page displaying posts in a date range
- Categories and Tags not working!
- Pagination with custom post types results in 404 issues
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- Custom query variable – get wordpress to redirect to nice permalink url
- Create second custom 404 page for selected post type
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom Post Type rewrite rules not working, how to alter the rewrite order?
- 404 error on custom post type
- WordPress custom post type archive with description
- Multisite custom post type’s single page 404
- Custom-post-type-archive: posts sorted/filtered by year?
- How to list custom post types?
- custom post type and custom taxonomy url conflict