[wp-trac] [WordPress Trac] #7355: "next post" 404s when permalinks are set to "month and name" and a post has no name

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 19 09:10:13 GMT 2008


#7355: "next post" 404s when permalinks are set to "month and name" and a post has
no name
---------------------+------------------------------------------------------
 Reporter:  mrmist   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.7      
Component:  General  |     Version:  2.6      
 Severity:  normal   |    Keywords:  404      
---------------------+------------------------------------------------------
 If I have permalinks set to "Month and Name" then I create a post with no
 name, then go to post level view on my site, whenever the "next post" or
 "previous post" is pointing to the post with no name it will generate a
 404 error.

 The URL it generates for posts-with-no-name is

 http://www.example.com/blog/2008/07/19/33/

 Where 33 is the post number.

 Possibly for posts with no name a random slug needs to be generated or
 something?

 Only month + name permalink structure seems to give this behaviour.

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


More information about the wp-trac mailing list