diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-08-22 14:50:49 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-08-22 14:50:49 +0000 |
commit | 54611c2b9defce384b40eea0158ebedb24d98a8b (patch) | |
tree | 93692b0115f1a0c1908cc49624f947643576259a /htaccess.dist | |
parent | 9df561c132b1862893f33cbc676f0ab18b99bee7 (diff) | |
download | wordpress-mu-54611c2b9defce384b40eea0158ebedb24d98a8b.tar.gz wordpress-mu-54611c2b9defce384b40eea0158ebedb24d98a8b.tar.xz wordpress-mu-54611c2b9defce384b40eea0158ebedb24d98a8b.zip |
No need for / prefix on rewrite rule, fixes #702, props kipit
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1429 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'htaccess.dist')
-rw-r--r-- | htaccess.dist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htaccess.dist b/htaccess.dist index 8992f01..a10abfe 100644 --- a/htaccess.dist +++ b/htaccess.dist @@ -8,7 +8,7 @@ RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteCond %{REQUEST_URI} ^.*/wp-admin$ -RewriteRule ^(.+)$ /$1/ [R=301,L] +RewriteRule ^(.+)$ $1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d |