[wp-trac] [WordPress Trac] #23073: Wrong RewriteRule in a local Multisite installation
    WordPress Trac 
    noreply at wordpress.org
       
    Sat Jan  5 02:15:41 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 guy_fr):
 the [http://core.trac.wordpress.org/attachment/ticket/23073/23073.2.diff
 23073.2.diff] was correct for me with subdomains and wordpress in its own
 directory (except that it should have the fix for mismatching separators:
 str_replace( '\\', '/', ...) on ABSPATH and $home_path )
 Wordpress is installed in a subdir "wp":
 {{{
 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [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).*) wp/$1 [L]
 RewriteRule ^(.*\.php)$ wp/$1 [L]
 RewriteRule . index.php [L]
 }}}
-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23073#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list