Skip to main content
4 events
when toggle format what by license comment
Oct 1, 2015 at 13:27 comment added Ben Racicot @dswebsme Agreed, but there are situations where you absolutely must change the URL. So other than why you can't natively and shouldn't, how do you do so efficiently?
Sep 30, 2015 at 19:34 comment added dswebsme You should award the answer to Jan Beck. WordPress needs the post_type slug to route requests properly. This rule prevents naming conflicts between native WP pages (which render without the slug) and any custom defined post types. If you hack the slug out then WordPress won't know the difference between a page named "picnic" and an event (custom post type) named "picnic".
Sep 30, 2015 at 18:02 comment added Ben Racicot Thanks @JanBeck . Is there a major reason for this to exist? Why not hack this core file with a conditional to omit certain post types from this rule?
Sep 30, 2015 at 14:01 history answered Jan Beck CC BY-SA 3.0