[wpmu-trac] [WordPress MU Trac] #702: Trailing slash to wp-admin
WordPress MU Trac
wpmu-trac at lists.automattic.com
Wed Jul 30 11:08:18 GMT 2008
#702: Trailing slash to wp-admin
------------------------+---------------------------------------------------
Reporter: kipit | Owner: somebody
Type: defect | Status: new
Priority: low | Milestone:
Component: component1 | Version:
Severity: normal | Keywords: htaccess rewriterule trailing slash
------------------------+---------------------------------------------------
The htaccess currently add trailing slash like this :
{{{
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ /$1/ [R=301,L]
}}}
But the correct way, according to others lines in the htaccess should be :
{{{
# add a trailing slash to wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
}}}
The leading slash is not needed IMO.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/702>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list