[wp-trac] [WordPress Trac] #23073: Wrong RewriteRule in a local Multisite installation

WordPress Trac noreply at wordpress.org
Sat Jan 5 04:14:13 UTC 2013


#23073: Wrong RewriteRule in a local Multisite installation
--------------------------+--------------------
 Reporter:  Guy_fr        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.1
Component:  Multisite     |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by markjaquith):

 Still wrong:

 {{{
 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [L]

 # uploaded files
 RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

 # add a trailing slash to /wp-admin
 RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^ - [L]
 RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
 RewriteRule ^(.*\.php)$ $1 [L]
 RewriteRule . index.php [L]
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23073#comment:34>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list