There’s nothing magical about it, your post type doesn’t have an archive ( has_archive
is false ), so there’s no rewrite rule for your post type that matches just /%post_type%/
, the only existing rules for your post type are for /%post_type%/%some_other_thing%/
, so there’s no clash with your page.
Related Posts:
- How do I fix permalinks for custom post types that has the same slug as a page?
- Assign same parrent Page to pages AND custom post types
- Custom Post Type Slug / Page Slug Conflict – Prevent use of reserved slug on page save?
- Custom Post type & Taxonomy URL structure
- Slug Formatting : Acceptable Characters?
- Disable permalink on custom post type
- Combining Multiple Taxonomies in one URL
- Change slug of registered custom post type in child theme
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- How to achieve this permalink -> category-name/custom-post-type-name/post-name
- Prepend meta_value to permalink of post
- Priority for Categories, Tags, Taxonomies, Posts, Pages and Custom Posts with same url
- Remove Slug from Custom Post Type results in 404
- Remove taxonomy slug when not assigning taxonomy with custom post types
- Can’t edit Custom Post Type slug/permalink
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom Taxonomy breaking pages permalinks
- Share parent path between Custom Post Types and Pages?
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Automaticly add slug to posts
- Why does wordpress keep adding postname to my CPT’s permalink in the end?
- Wrong generated page_name/slug on first publish of custom post type
- Remove post type slug of all post types from permalinks
- Making a custom help center page
- Stop / prevent WordPress from updating permalinks of custom post type
- Child post with numeric only slug keeps redirecting to parent
- Permalink for a custom post type isn’t working and I don’t know why
- Create a custom php page and load it at a specific slug
- Custom Post Type – Duplicate Page Slugs
- Remove permalink for custom post type
- How do you create %post_type%/%postname%/ permalink structure?
- Custom Post Type Advanced Slug
- Custom Post Type to replace Woocommerce products – page not found error
- Setting a homepage – doesn’t seem to work
- Need to return a string as permalink insted of str_replace
- How to setup different permlalinks for posts and pages?
- Custom Post Type Single Page and Archive Page redirects to Home Page
- How to stop a permalink redirecting to a page whit same slug but different permalink
- How to make “single post” permalink maintain it’s sub-page structure
- Change permalink incrementor into pseudo-subdirectory
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- Two CPT: one is using part of the custom rewrite slug from the other
- WordPress page not showing up – replaced with last 10 posts?
- Custom permalink rewrite rules – how do I fix this?
- Can I override the permalink/slug on creation
- Get full control over custom post type url
- Add category slug as class attribute in a link array
- Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks
- Can’t make permalink of CPT work
- How to make nested custom post type slugs work
- “regular” pages not found after changing permalink
- Custom Post Type Slug / Page Slug Conflict – Prevent use of reserved slug on page save?
- Hide custom post type slug url from search engine [closed]
- Custom post type Premalinks main page and details page
- How to change permalink structure off default posts and also CPT’s posts
- How to get taxonomy category in permalink for each taxonomy OR How to give a parent page to a given taxonomy?
- Changing CPT permalink
- Add custom template ‘sub-page’ to Custom Post type?
- Permalink for specific post type
- Metabox collapsed by default
- Difference between a default post type and a custom post type?
- Custom post type defaults to index.php for archive page
- Remove custom taxonamy slug with pagination
- How can I write slugs / permalinks as: custom post type -> custom taxonomy and custom post type -> custom taxonomy (one CPT and many taxo)?
- Custom post type single page returning 404 error when sharing archive url with custom taxonomy
- CPT relations use in permalinks under single post type
- CPT relations use in permalinks under single post type
- How to use posts as tabs in a custom page?
- Changing permalink of default Post with custom post
- CPT and rewrite rules
- Custom Taxonomy Archive generates 404
- Custom post shows 404 after theme change
- Show date as permalink for custom post type instead of post name
- How can I get custom post types to recognize pretty permalink variables?
- Create Custom page with custom domain
- How to merge 2 custom post type permalinks
- Do not show child pages within a file page
- Custom Post Type not using correct page template
- Disable Sidebar on certain pages
- Enabling hierarchical in a Custom Post Type gives error 404
- Custom post type single with custom URL structure
- Permalink for custom post type pages not working
- Cannot save pages after migration
- WordPress doesn’t respect Page slug in custom post type url pagination. Keeps getting removed
- Standard Page Child of CPT Not Found (404)
- Add %post_id% to slug of custom post type and prevent the “unique slug” thing that WP does?
- Permalinks: custom post type -> custom taxonomy -> custom sub taxonomy -> post
- Displaying posts inside table having issues
- Show posts from custom post type sorted by category/taxonomy on a one-pager/page
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- Custom post types & Pages hierarchy – Error 404
- News post with multiple permalinks? When opened from different page
- Customise Permalink Structure For Custom Post Types
- Missing permalink for custom post type
- Output all terms slugs for a loop filter
- How to change URL structure for custom post type in wordpress? Custom taxonomy + custom Post name [duplicate]
- CPT – Custom Text fields point to new url permalinks
- % encoded URL giving 404 error in WordPress
- Two and more diffrent custom page type in one permalink