[wp-trac] [WordPress Trac] #34136: Allow register_post_type's rewrite to remove CPT slug
WordPress Trac
noreply at wordpress.org
Wed Jul 3 13:43:44 UTC 2019
#34136: Allow register_post_type's rewrite to remove CPT slug
---------------------------+------------------------------
Reporter: BenRacicot | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 4.3.1
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by freshyjon):
I agree that this needs to be implemented, as a way to remove the Custom
Post Type slug from the permalink. It helps for organization where post
types are used for different "types" of content/layouts/templates... while
still allowing for the ability to have a clean URL, which also checks
against existing Page slugs (to ensure no duplicates).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34136#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list