Numbers work because single posts can have pagination, and there is a rewrite rule to support that.
If you want to add an additional parameter after a permalink, add a rewrite endpoint.
add_rewrite_endpoint( 'show', EP_PERMALINK );
EDIT- Here’s an internal rewrite example, assuming your custom post type slug is type1
:
add_rewrite_rule(
'c/([^/]+)/([^/]+)/([^/]+)/?$',
'index.php?type1=$matches[1]&type2=$matches[3]',
'top'
);
Related Posts:
- Removing CPT slug from URL results in 404 error for archive page
- Remove Slug from Custom Post Type results in 404
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- How to prevent a CPT’s slug and page slug from conflicting with each other?
- Custom post type single page (single-{CPT-name}) 404 when slug includes hyphens
- Remove slug from custom post type post URLs
- Redeclare/Change Slug of a Plugin’s Custom Post Type
- Custom post type single page returns 404 error
- Theme localization of “slugs” (custom post types, taxonomies)
- Getting hierarchical custom post type permalinks to work just like pages
- Custom Post Type Slug / Page Slug Conflict – Prevent use of reserved slug on page save?
- Custom post type pagination 404 fix?
- Inconsistent temporary 404s on whole install | PHP error with post-template.php
- How do I get a post (page or CPT) ID from a title or slug?
- How to get custom post type label and singular label from its slug?
- Custom Post type & Taxonomy URL structure
- Custom post type 404s with rewriting even after resetting permalinks
- custom slug for custom post type
- Slug Formatting : Acceptable Characters?
- Disable permalink on custom post type
- Get list of all registered post types slugs
- Combining Multiple Taxonomies in one URL
- Custom Post Types 404 Issue
- Custom post type archive 404’s with paginate_links
- Pagination throws 404 error on custom taxonomy archive pages
- 404 on child page when parent page slug is identical to custom post type
- Using Custom Fields in Custom Post Type URL
- Single custom post type page redirecting to 404 page
- Change slug of registered custom post type in child theme
- Taxonomy archive with same slug as custom post type?
- 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?
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- Post slug changed using code doesn’t reflect on editor when post is published
- How to achieve this permalink -> category-name/custom-post-type-name/post-name
- Taxonomy page returns 404 page not found
- Child pages on hierarchical Custom Post Types 404s
- Prepend meta_value to permalink of post
- Custom Post Type Works but Still Shows “Page Not Found”
- Custom Post Type – Same Post Name, Different Post Type
- WordPress custom post type category pagination 404 Error
- Pagination throws 404
- Priority for Categories, Tags, Taxonomies, Posts, Pages and Custom Posts with same url
- How do I redirect all 404 errors of a specific post type to another URL?
- Setting a title on a Custom Post Type that doesn’t support titles
- Reslug a Custom Post Type
- Custom Post Type pagination when CPT ‘rewrite’ rule and a page have the same slug
- WordPress monthly archive links result in 404
- Force unique page slugs across all post types
- How to remove CPT comment feed from head?
- Getting Post ID from slug during init
- Custom Slug for a custom post type and default post
- Remove taxonomy slug when not assigning taxonomy with custom post types
- Custom post type’s slug gets wrong when adding a custom meta box
- Custom Taxonomy archive returns 404
- Interesting Custom Post Type Slug with Taxonomy and Custom Field
- Pagination gives 404 error
- Rewrite CPT slug with two taxonomy slug instead of one
- Custom Taxonomy 404
- Get slug to point to different content of the same post
- WP query by custom post type slug/name
- Can’t edit Custom Post Type slug/permalink
- Pagination with custom post types results in 404 issues
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Create second custom 404 page for selected post type
- Custom Post Type rewrite rules not working, how to alter the rewrite order?
- 404 error on custom post type
- Custom Taxonomy breaking pages permalinks
- Multisite custom post type’s single page 404
- Using custom post type parent as slug
- custom post type and custom taxonomy url conflict
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Custom post type with slug for plural (archive) and for single
- Rewrite rules for custom post type slug
- Why my custom post posts aren’t showing (404 error / page not found)
- Automaticly add slug to posts
- Make slug as ID Number for custom post types
- How do I fix permalinks for custom post types that has the same slug as a page?
- An empty Custom Post Type Archive page returns 404 in WP 3.1
- How To Create A Custom Taxonomy 404 Page
- How to remove slugs from multiple custom post types
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- Custom post type and taxonomy slug issue
- Custom post types archive redirect
- Does WordPress limit the length of slug names for Post Meta or Terms?
- Bizarre Permalinks Issue: 404 Errors Everywhere
- 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
- Stop / prevent WordPress from updating permalinks of custom post type
- Custom taxonomy in URL showing 404
- Custom Post Type Draft Preview Goes to 404
- Append date to custom post type url slug
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- CPT custom archive template does not get loaded
- Am I using the flush_rewrite_rules function in the right place?
- Rewrite slug for CPT
- Wrong request query on cpt and tax
- Is there a way to have custom post type and page with the same slug?