[wp-trac] [WordPress Trac] #20224: WordPress should always add a / at the end of URLs

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 14 12:36:37 UTC 2012


#20224: WordPress should always add a / at the end of URLs
-------------------------+------------------------------
 Reporter:  Confridin    |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Canonical    |     Version:  3.4
 Severity:  normal       |  Resolution:
 Keywords:  close        |
-------------------------+------------------------------
Changes (by nacin):

 * keywords:  2nd-opinion => close


Comment:

 Can we have some evidence that a URL not ending in / is bad? Because I'm
 not familiar with that at all. As long as one 301 redirects to the other,
 things are fine. http://googlewebmastercentral.blogspot.com/2010/04/to-
 slash-or-not-to-slash.html

 And WordPress does exactly this for all URLs, based on whether your custom
 permalink structure ends in a trailing slash. This was implemented in
 #1485.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20224#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list