[wp-trac] [WordPress Trac] #14295: 2.9.2 to 3.0 htaccess not upgrading & breaks image paths
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 16 12:09:08 UTC 2010
#14295: 2.9.2 to 3.0 htaccess not upgrading & breaks image paths
--------------------------+-------------------------------------------------
Reporter: gazouteast | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: blocker | Keywords: BUG, htaccess, 404, images, ms-blogs.php, blogs.dir.php, WPMU 2.9.2
--------------------------+-------------------------------------------------
Comment(by duck_):
Replying to [comment:5 gazouteast]:
> I have been completely unable to find either an htaccess template or a
generator within the 3.0 download files - I have no idea how anyone
arrived at the following v3.0 htaccess, but it is the one some people in
the forums are claiming is working for them.
See [http://core.trac.wordpress.org/browser/trunk/wp-
admin/network.php#L456 wp-admin/network.php], that is what generates the
.htaccess file code to use when the Network is first enabled. This is
outputs what you have posted as the "3.0 htaccess", one of the important
parts (at least it looks like it, not a multisite expert) is the uploaded
files line which is different for subdomain installs (line 463):
{{{
RewriteRule ^' . ( $subdomain_install ? '' : '([_0-9a-zA-Z-]+/)?' ) .
'files/(.+)
wp-includes/ms-files.php?file=$' . ( $subdomain_install ? 1 : 2 ) . ' [L]'
. "\n";
}}}
You have posted the subdirectory version of the "3.0 htaccess" file.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14295#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list