Set has_archive
to false
in your arguments when registering your post type, flush your permalinks and you should be goog to go.
EDIT
has_archive
(boolean or string) (optional) Enables post type archives. Will use
$post_type
as archive slug by default.Default: false
Related Posts:
- How to achieve this permalink -> category-name/custom-post-type-name/post-name
- Prepend meta_value to permalink of post
- Rewrite custom post type url’s adding meta box values
- Priority for Categories, Tags, Taxonomies, Posts, Pages and Custom Posts with same url
- Custom Post Type pagination when CPT ‘rewrite’ rule and a page have the same slug
- add_rewrite_endpoint() and Custom Post Type Archive
- Custom post type with slug for plural (archive) and for single
- Am I using the flush_rewrite_rules function in the right place?
- Adding Post id to the end of slug in a Custom Post Type
- Canonical url differs from custom post type archive URLs
- Add parent post to Custom Post Type [closed]
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- Pages not appearing?
- Custom post type post_type_link gives “page not found” on any other custom post type
- Two CPT: one is using part of the custom rewrite slug from the other
- Custom taxonomy archive slug overwrites static page
- Get the custom post type slug but remove the rewrite prefix?
- Rewriting archive page slug to be different than custom post type slug
- Rewrite rules causing hole
- How to make nested custom post type slugs work
- How can I retrieve the slug for a custom post type via name?
- Ideal top-level slug methods
- Custom archive URL as a subfolder of the custom post type slug
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- Dynamic WordPress rewrite rules for multiple custom post types
- How to change rewrite slug for custom post type without conflicting w/ child pages of page with same slug
- Remove date rewrite rule for custom post type archive page
- Rewrite taxonomy permalink appended to CPT archive url
- Limit the Title Length on Custom Post Type Archive Page to a Set Number of Characters
- How to add custom taxonomy in custom post type permalink?
- Custom post type archive with page as parent url
- Set featured image to archive.php
- Auto Slug Generation for Custom Post type
- Properly flush rewrite rules on plugin activation
- How to make a posttype show under a page hierarchy (example.com/page/posttype/entry)?
- Custom Post Type archive-{post-type}.php not working
- Custom post type single page (single-{CPT-name}) 404 when slug includes hyphens
- How do you create %post_type%/%postname%/ permalink structure?
- Relationship between set rewrite flag in register_post_type and add_rewrite_rule
- What’s the name of the custom post type yearly archive template?
- How to query 2 custom post types that need to share a slug?
- Slug for custom post type
- Custom post type, global categories — what’s the template name?
- Custom rewrite to fetch feed data
- Rename a slug label
- Custom Rewrite Rule for Custom Post Type with URL Param
- Slug Confusion Between Post and Custom Post types?
- WordPress custom slug rewrite
- How to find a specific post_type using its “rewrite slug”?
- How to hyperlink content from archive page with custom post-type
- Set thumbnail and title for a post type archive (not post itself!)
- Different slug taxonomy for two different CPT
- How to set up Custom Post Type archive page as Front page
- Url to archive page for custom post type
- How can I use archive-{post_type}.php theme template?
- How to add current custom taxonomy slug to body class
- Change Slug of a Custom Post Type
- Using page slug in wp_query
- How to display CPT archives?
- Custom meta Title for custom post type archive from page
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- Return the name of the post type
- How can Custom Post Type and a page have the same slug?
- custom post type archive page has 404 error even though has_archive is true
- Custom post type paging 404 error
- How to get postname in custom page?
- current-menu-item not added on page showing custom post type (rendered with archive template)
- Alphabetically sort a taxonomy.php template by post title
- Custom Permalinks for Custom Post Types
- Listing all slugs?
- Why WordPress is picking archive.php instead of page.php?
- Postname on unique permalink structure appends “-2” for a custom post type. How can I get this to stop happening?
- Custom Post Type posts, conflict with posts after add_rewrite_rule to top
- Changing slug of all posts
- Custom Permalinks For CPT and pages with parent. Advanced WordPress
- How to integrate single and archive templates for custom post type in any WordPress theme
- Combine multiple CPT names to create valid permalinks
- Permalink problems with custom post type and custom taxonomy
- sort CPT on Custom Taxonomy Archive page
- WordPress Custom Post Type – Rewrite Query
- Custom Post Type – Rewite Archive page
- WordPress different templates for same type custom post (but different slug)
- SEO Concerns With Rewrite Rules
- Set parent for custom post type archive rewrite url
- Route subpage to Custom Post Type
- ACF for custom post type archive pages: which hook to use?
- Use the custom post type archive for taxonomies?
- Custom Post Type Advanced Slug
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- Automatically update slug with latest title within custom post type [duplicate]
- Custom Post type date archive for custom taxonomy
- Show categories of custom post type and not all posts
- Apply template by path/slug related to custom post type?
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- CPT Archive pre_get_posts not working?
- Changing CPT slug and taxonomy already registered in parent theme
- Custom Post Type to replace Woocommerce products – page not found error
- WordPress custom permalink and archive link for custom post type
- How to rewrite the post slug of a custom post type post
- adding custom post type “name” to single template