Have you refreshed your rewrite rules? You can do this by resaving your permalink settings under Settings>Permalinks in the admin.
If it is a plugin or theme you are distributing you can call $wp_rewrite->flush_rules();
upon activation.
Related Posts:
- Create second custom 404 page for selected post type
- single-{$post_type}-{slug}.php for custom post types
- Custom post type pagination 404 fix?
- Inconsistent temporary 404s on whole install | PHP error with post-template.php
- Custom post type 404s with rewriting even after resetting permalinks
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- tag.php doesn’t work with tags on a custom post type post?
- Multiple Single Post templates
- How to set a fall back template for a custom post type in a plugin?
- How to list/show all custom post types regardless of category?
- Child pages on hierarchical Custom Post Types 404s
- Need some templating advice for templating with custom post types and taxonomies
- How to query custom posts using a dynamic category
- Custom Post Type with Nested Taxonomy and Template Files
- Pagination throws 404
- Remove Slug from Custom Post Type results in 404
- Template tags to display custom post type posts in category template?
- How to remove CPT comment feed from head?
- custom post type archive template per custom taxonomy term
- Custom post type loops with different page templates
- Custom Post Type Templates?
- Custom Post Type .current-menu-item not applying on Custom Post Type Archive Page
- Lock post meta block at the bottom of a custom post type
- How do I provide a “show all posts” link in a paginated term archive?
- 404 error on custom post type
- How can I force custom post type to use a specific template?
- Multiple templates for a custom post type
- How To Create A Custom Taxonomy 404 Page
- Plugin templates in which directory
- Using wordpress template tags within an array
- Include custom post type single template, but respect theme override of template if it exists
- Custom post type not using custom template
- Custom taxonomy in URL showing 404
- Query with no terms uses index.php template instead of archive.php
- Create template for taxonomy results limited by Custom Post Type
- WordPress Custom Post Type Children Template
- Getting template_include to work when allow_url_include is off?
- How do I display content to users who are not logged in instead of 404 on Private custom posts?
- 2 Templates 1 custom post type according url
- How to prevent a CPT’s slug and page slug from conflicting with each other?
- Custom post type permalink tag 404
- Migrating a taxonomy’s tags to the native category
- Custom templates for a specific category
- Page not found for custom post type UI plugin and taxonomy
- Custom post_type search pages
- Custom rewrite to fetch feed data
- Custom posts template page
- Add Previous/Next Buttons to CPT Single Pages Only
- Creating separate feeds for custom post types
- One Custom post type 404’s others don’t
- How to get_term_meta on single custom post?
- Custom taxonomy template list not working (404)
- How do I find a way to create a global single.php for a custom post type?
- Templates for hierarchical custom post type
- How to use single.php for creating, reading and editing Custom Posts with ACF
- Apply template by path/slug related to custom post type?
- Custom taxonomy template shows 404 Error
- How to get the current category with custom posts
- Assign a template to a custom post type when displayed by the main loop on the home page
- How to create a archive template for custom post type [duplicate]
- WP not recognizing custom post type / template
- Create a custom taxonomy template that loops through child categories in term order?
- My template won’t apply, theme still fallback to index.php
- Safe to throw 404 error in request filter?
- One Custom Post Type two different Templates
- Conflict in function to allow single post template based on category
- How to make post templates to include shortcodes only?
- On click some element i want to use some template
- Post template with breadcrumb needs to show page navigated from
- Custom post type single page 404
- Accessing download link from the loop with WP Download Manager Pro
- Enabling hierarchical in a Custom Post Type gives error 404
- Standard Page Child of CPT Not Found (404)
- Custom Post Type Front Page Gives 404
- Turning archive templates to a page template maintaining the slug
- get_permalink() of page the enclosing page not posts
- WordPress Custom Post Type – Post Attribute: Template. Template shows up and saves on the back end, but the default theme file is being rendered
- How to Create a Default Fixed Custom Posts layout for text and images
- Why did permalinks setting affect the pages?
- How to make a custom search template for custom taxonomy?
- Custom post type with two templates
- Custom Post Type tag taxonomy “Page Not Found”
- DIVs not showing correctly on CPT?
- Why isn’t my custom post type using the corresponding custom post template?
- Pages displays correctly but returning a 404 error in http header.
- Load different template for CPT (in loop) in my plugin?
- Search page for custom post type
- Custom Post Type Template based on Taxonomy
- Template with Custom Post Type (Custom Tables) does not work
- 404 with Custom Post Type
- Specifying Default Template for Hierarchal Custom Post Type [duplicate]
- Most appropriate way to display CPT’s by children terms of custom taxonomies while retaining desired permalink structure?
- how to pass args for archive.php query?
- Navigation links to posts in current term shortcode
- CPT Template Option to Top
- Show my custom post id if a country or ip
- How to create custom page templates with default page layout framework?
- Custom Post Type, 404 error
- How to debug a 404 error on pages whose content is perfectly displayed when I explore it?
- How can I produce multiple webpages with a different output based on one entry/Page/custom Page?