[wp-trac] [WordPress Trac] #44277: Post type rewrite breaks page url's

WordPress Trac noreply at wordpress.org
Wed May 30 10:59:36 UTC 2018


#44277: Post type rewrite breaks page url's
---------------------------+-----------------------------
 Reporter:  garethgillman  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  4.9.6
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 I have a post type which we rewrite a custom url using the following:

 {{{
 'slug' => '%kh_product_cat%',
 }}}

 It used to work but not sure when but it stopped working and although the
 post type url's work, the page url's don't.

 Take that line out and the page url's work again, tested on a clean
 install of WP to make sure and get the same problem.

 Has something been changed in WP recently which would affect this?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44277>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list