[wp-trac] Re: [WordPress Trac] #1485: Don't use trailingslashed IRIs if the user doesn't prefer them

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 15 07:10:02 GMT 2007


#1485: Don't use trailingslashed IRIs if the user doesn't prefer them
-------------------------------------------------------------------------------------+
 Reporter:  MathiasBynens                                                            |        Owner:  markjaquith
     Type:  enhancement                                                              |       Status:  closed     
 Priority:  low                                                                      |    Milestone:  2.2        
Component:  Template                                                                 |      Version:  1.6        
 Severity:  normal                                                                   |   Resolution:  fixed      
 Keywords:  permalink permalinks iridesign bg|dev-feedback bg|2nd-opinion has-patch  |  
-------------------------------------------------------------------------------------+
Comment (by markjaquith):

 To test, choose a permalink structure with a trailing slash, like:

 {{{
 /%year%/%monthnum%/%day%/%postname%/
 }}}

 or

 {{{
 /index.php/%year%/%monthnum%/%day%/%postname%/
 }}}

 Then look around.  All WP-generated URLs should having trailing slashes.

 Now switch to:

 {{{
 /%year%/%monthnum%/%day%/%postname%
 }}}

 or

 {{{
 /%year%/%monthnum%/%day%/%postname%
 }}}

 Now all WP-generated URLs should have no trailing slash (exception:
 {{{home}}} URL)

 It's very possible I missed one, so assume a non-trailing-slash structure
 and start hunting!

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


More information about the wp-trac mailing list