Changeset 1211

Show
Ignore:
Timestamp:
03/14/08 14:09:45 (9 months ago)
Author:
donncha
Message:

Add a trailing slash to URLs ending in /wp-admin, fixes #351, props deanbag

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/htaccess.dist

    r949 r1211  
    11RewriteEngine On 
    22RewriteBase BASE/ 
    3  
    43 
    54#uploaded files 
    65RewriteRule ^(.*/)?files/$ index.php [L] 
    76RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L] 
     7 
     8# add a trailing slash to /wp-admin 
     9RewriteCond %{REQUEST_URI} ^.*/wp-admin$ 
     10RewriteRule ^(.+)$ /$1/ [R=301,L] 
    811 
    912RewriteCond %{REQUEST_FILENAME} -f [OR]