2010-01-19 01:04:25 +01:00
|
|
|
RewriteEngine On
|
|
|
|
RewriteBase BASE/
|
|
|
|
|
|
|
|
#uploaded files
|
|
|
|
RewriteRule ^(.*/)?files/$ index.php [L]
|
|
|
|
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
|
2010-02-03 19:19:56 +01:00
|
|
|
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
|
2010-01-19 01:04:25 +01:00
|
|
|
|
|
|
|
# add a trailing slash to /wp-admin
|
|
|
|
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
|
|
|
|
RewriteRule ^(.+)$ $1/ [R=301,L]
|
|
|
|
|
|
|
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
|
|
RewriteRule . - [L]
|
2010-01-28 16:29:23 +01:00
|
|
|
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
|
2010-01-19 01:04:25 +01:00
|
|
|
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
|
|
|
|
RewriteRule . index.php [L]
|
|
|
|
|