[wp-trac] [WordPress Trac] #13707: 404 on all admin pages of main blog
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 11 03:16:47 UTC 2010
#13707: 404 on all admin pages of main blog
--------------------------+-------------------------------------------------
Reporter: abbaanthony | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Multisite | Version: 3.0
Severity: major | Keywords: reporter-feedback
--------------------------+-------------------------------------------------
Comment(by abbaanthony):
Sorry, try this again.
{{{
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.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>
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13707#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list