[wp-trac] Re: [WordPress Trac] #7396: permalink structure /%post_id%-%postname%-%category%-%year%-%monthnum%-%day% returns 404 s only

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 24 16:17:52 GMT 2008


#7396: permalink structure
/%post_id%-%postname%-%category%-%year%-%monthnum%-%day% returns 404 s only
----------------------+-----------------------------------------------------
 Reporter:  hquadrat  |        Owner:  anonymous
     Type:  defect    |       Status:  new      
 Priority:  high      |    Milestone:  2.6.1    
Component:  General   |      Version:  2.6      
 Severity:  blocker   |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by ryan):

 That is a completely evil permalink structure.  %postname% and %category%
 are adjacent and separated by a dash. Dash is a valid character within
 %postname% and %category%, making the resulting regular expression have to
 do a ton of backtracking before it throws up it hands for being asked the
 impossible.  Try using "/" instead of "-" as a separator.  Or, just use
 one of the default structures.  They are guaranteed to work and be
 reasonably fast.

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


More information about the wp-trac mailing list