mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-02 19:19:45 +02:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@12756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
27 lines
655 B
Plaintext
27 lines
655 B
Plaintext
RewriteEngine On
|
|
RewriteBase BASE/
|
|
|
|
#uploaded files
|
|
RewriteRule ^(.*/)?files/$ index.php [L]
|
|
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
|
|
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]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteRule . - [L]
|
|
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
|
|
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
|
|
RewriteRule . index.php [L]
|
|
|
|
<IfModule mod_security.c>
|
|
<Files async-upload.php>
|
|
SecFilterEngine Off
|
|
SecFilterScanPOST Off
|
|
</Files>
|
|
</IfModule>
|
|
|