[wp-trac] [WordPress Trac] #20224: WordPress should always add a / at the end of URLs
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 13 10:59:40 UTC 2012
#20224: WordPress should always add a / at the end of URLs
-------------------------+-------------------------
Reporter: Confridin | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Canonical | Version: 3.4
Severity: normal | Resolution: worksforme
Keywords: needs-patch |
-------------------------+-------------------------
Changes (by scribu):
* status: new => closed
* resolution: => worksforme
* component: Rewrite Rules => Canonical
* milestone: Awaiting Review =>
Comment:
WordPress already does this, depending on your permalink structure.
* if it ends with a slash, say `/%postname%/`, it always redirects to the
slashed version.
* if it doesn't end with a slash, say /%postname%, it always redirects to
the non-slashed version.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20224#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list