diff --git a/wp-admin/network.php b/wp-admin/network.php index faea32adb8..5817ac25fd 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -430,7 +430,7 @@ define( 'BLOG_ID_CURRENT_SITE', 1 ); - + @@ -471,7 +471,7 @@ RewriteRule ^ - [L]'; // @todo custom content dir. if ( ! $subdomain_install ) - $htaccess_file .= "\nRewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]\nRewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]"; + $htaccess_file .= "\nRewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]\nRewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]"; $htaccess_file .= "\nRewriteRule . index.php [L]";