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
- Get custom post type slug for an archive page
- Custom Post Type Settings page, choose page to display archive
- Adding custom post type archives to a WordPress menu
- Custom Post type & Taxonomy URL structure
- Combining Multiple Taxonomies in one URL
- Custom Post Type Archives by Date with Custom Permalink
- Modify custom post type rewrite rules in a separate function
- Change page /2 to /transcript with a Rewrite
- Custom Post Type archive as front page
- Permalink rewrite with custom post type and custom taxonomy
- Custom Post Type – Same Post Name, Different Post Type
- Adding custom post types to archive.php
- Get slug to point to different content of the same post
- How to make an archive page displaying posts in a date range
- Categories and Tags not working!
- WordPress custom post type archive with description
- Using custom post type parent as slug
- Display Next/Prev when looping Custom post-types archive?
- How can I filter by taxonomy on a custom post type’s page?
- How much control do we have over CPT rewrite slugs? Can I create a “root” page for my CPT with out the page path, and then have paths for other pages?
- how to add extra GET parameters to post to url with add_rewrite_rule?
- Wrong generated page_name/slug on first publish of custom post type
- CPT Archive with core Category
- Stop / prevent WordPress from updating permalinks of custom post type
- Rewrite slug of custom post type to include post-id
- Displaying Page as Custom Post type landing Page
- How to change custom post type permalink structure
- Front custom edit post page for each post
- Rewrite Question Mark in Post Template to Make it Pretty URL
- Custom Post Type with Same Page URL
- CPT archive admin menu label
- CPT Template Not Showing – Getting 404
- Content Editable CPT Archive?
- Including taxonomy term before post type breaks top level pages
- How to get list of taxonomy slugs ordered parents>childs?
- Rewrite Endpoints and CPTs – How to use in a plugin
- Paginate_links in custom post type template
- Limit the Title Length on Custom Post Type Archive Page to a Set Number of Characters
- How to make a posttype show under a page hierarchy (example.com/page/posttype/entry)?
- Relationship between set rewrite flag in register_post_type and add_rewrite_rule
- How to hyperlink content from archive page with custom post-type
- How to add current custom taxonomy slug to body class
- Why WordPress is picking archive.php instead of page.php?
- Custom Post Type posts, conflict with posts after add_rewrite_rule to top
- Combine multiple CPT names to create valid permalinks
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- CPT Archive pre_get_posts not working?
- How to rewrite the post slug of a custom post type post
- rewriterule not working
- How to controll the Posts post type and general wondering about WP data structure
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- CPT archive page – show one post from each taxonomy term
- Subpages Permalinks Issues
- rewrite rules hierarchical
- How to change CPT single post slug
- How do I set a post slug automatically based on taxonomy?
- Rewrite URL for CPT to domain/post-name/post-id
- How to apply multiple rewrite_rule to a single custom post type url?
- Displaying all posts by category and showing content on click
- Custom permalink structure for custom post types including multiple taxonomy
- CPTs relationship
- Tell wordpress to show a single page instead of an archive page
- Rewrite url for custom post type with specific url
- Custom post pagination not working
- Problem to get the link of the default ‘post’ post type like the orther custom types
- how to use two permalinks for one custom post type based on categories
- Can I override the permalink/slug on creation
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- custom post type archive slug vs. custom page template
- Site loads very slow for archive custom post type page
- Custom Rewrite Tag Structure
- Have two (permalinks) urls for a same custom post type
- Parent cpt/child custom post type URL permalink relationship
- Pagination not working on custom post type archive
- Removing custom post type name from permalink