[wp-trac] Re: [WordPress Trac] #5305: permalinks broken when article name is numeric

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 21 08:29:36 GMT 2007


#5305: permalinks broken when article name is numeric
--------------------------------+-------------------------------------------
 Reporter:  thomask             |        Owner:  anonymous
     Type:  defect              |       Status:  new      
 Priority:  normal              |    Milestone:  2.3.2    
Component:  General             |      Version:  2.3.1    
 Severity:  major               |   Resolution:           
 Keywords:  permalinks, number  |  
--------------------------------+-------------------------------------------
Comment (by JDTrower):

 Actually, I am able to verify that this does happen.  If you have a custom
 permalink, where you have something like /archives/%postname%/ or
 /archives/post/%postname%/ and you publish a post with a numeric title
 such as 2008, when you click to view the post, you get a 404 error.  In
 all my testing, this only occurs with this type of a permalink where you
 have a static word followed by a forward slash and then the dynamic
 postname.

 If you try /archive/%author%/%postname/ or put any of the other dynamic
 options between the static word and the dynamic postname, the link will
 work fine.

 I verified this in 2.3.1 and in 2.4 trunk.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5305#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list