[wp-trac] [WordPress Trac] #12044: Wrong path for uploaded files
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 26 18:43:51 UTC 2010
#12044: Wrong path for uploaded files
--------------------------+-------------------------------------------------
Reporter: wpmuguru | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Multisite | Version: 3.0
Severity: normal | Keywords: needs-feedback
--------------------------+-------------------------------------------------
Changes (by freddyware):
* version: => 3.0
Comment:
I'm seeing the problem too. Having redefined WP_CONTENT_DIR, the URL for
uploads becomes http://rhhsweb.com/files//home/rhhsweb/wp-
content/blogs.dir/1/files/2010/01/rhhs-web-wordpress-button.png instead of
http://rhhsweb.com/files/2010/01/rhhs-web-wordpress-button.png .
Strangely, both versions of the URL work, because this line in .htaccess
is stripping out the path:
{{{
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12044#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list