[wp-trac] [WordPress Trac] #55880: Custom post type isn't redirected to its canonical URL

WordPress Trac noreply at wordpress.org
Fri Aug 4 06:50:43 UTC 2023


#55880: Custom post type isn't redirected to its canonical URL
--------------------------+------------------------------
 Reporter:  manooweb      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by slamorte):

 Do you have a custom permalink with a string in Settings > Permalinks >
 Custom Structure? I just found a bug where adding a string like
 `/news/%postname%/` breaks all core base redirects for pages, posts, and
 CPTs.

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


More information about the wp-trac mailing list