[wp-trac] [WordPress Trac] #14345: BUG: Changing permalinks to a custom structure returns 404 on custom post types

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 18 16:44:56 UTC 2010


#14345: BUG:  Changing permalinks to a custom structure returns 404 on custom post
types
--------------------------+-------------------------------------------------
 Reporter:  der           |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  3.0            
 Severity:  normal        |    Keywords:  permalinks, 404
--------------------------+-------------------------------------------------
 To replicate the bug, do this:

 - Create a custom post type[[BR]]
 - Enable permalinks with the following custom structure:
 '''/%category%/%postname%'''[[BR]]
 - Save the settings[[BR]]
 - Access your post's permalink:  It will return a 404 page[[BR]]
 - Go to permalink settings again (don't change anything) and Save the
 settings again.[[BR]]
 - Access your post's permalink: It will go to the post.[[BR]]

 If you save the first time, it's not registering the changes, unless you
 save the settings for the second time without making any changes.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14345>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list