[wp-trac] [WordPress Trac] #37237: rewrite rules for hierarchical custom posts seem wrong

WordPress Trac noreply at wordpress.org
Fri Apr 19 20:28:03 UTC 2019

#37237: rewrite rules for hierarchical custom posts seem wrong
 Reporter:  realblueorange     |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Rewrite Rules      |     Version:  4.5.3
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:
Changes (by desrosj):

 * keywords:   => reporter-feedback
 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


 Hi @realblueorange,

 Thanks for this ticket! My apologies that it took so long to receive a

 I have done some testing, and I am unable to reproduce the issue you are
 describing. If I switch your to hierarchical post type, flush rewrite
 rules, the post correctly shows at `/abcd/parent-post/child-post`.

 I am going to close this out as `worksforme`, but if you are still
 experiencing this issue, please reopen with more details. What your
 permalink structure is in Settings > Permalinks would be helpful (I
 assumed and tested with `/%postname%/` based on your description).

Ticket URL: <https://core.trac.wordpress.org/ticket/37237#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list