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

WordPress Trac noreply at wordpress.org
Fri Jan 4 10:35:07 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:  dev-feedback has-patch  |
------------------------------------+--------------------

Comment (by westi):

 I just visited '''network.php''' on my trunk MS in subdir install on OS X:

 The rewrite rules in generates are also broken :(

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

 # uploaded files
 RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) Users/peter/Sites/trunk.ms/wp-
 includes/ms-files.php?file=$2 [L]

 # add a trailing slash to /wp-admin
 RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^ - [L]
 RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)
 Users/peter/Sites/trunk.ms/$2 [L]
 RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ Users/peter/Sites/trunk.ms/$2
 [L]
 RewriteRule . index.php [L]
 }}}

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


More information about the wp-trac mailing list