[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 16:03: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:  close          
--------------------------+-------------------------------------------------

Comment(by gazouteast):

 Replying to [comment:8 duck_]:
 > Replying to [comment:7 gazouteast]:
 > > @duck_  Many thanks, now at least I know where it's created, but
 cannot make head nor tail of it.  The line you highlighted looks nothing
 like either the 2.9.2 version (that worked) or the version I copied from
 the forums, possibly that is the problem source for sub-blogs not
 displaying post content, and for admin pages not listing post details.
 >
 > That's because I pasted the line of PHP which generates the uploaded
 files line for the .htaccess file; it will output two different versions
 of said .htaccess line, one for subdomains and the other for
 subdirectories. I believe this would be the subdomain version:
 >
 > {{{
 > RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
 > }}}
 >
 > The other version is exactly the one seen in comment !#5. There are a
 couple of other differences if you read the code from network.php; the
 full subdomain .htaccess file ouput would be [http://pastie.org/1047363
 this]. This ticket appears to be turning into a support thread.

 @ Duck - nope - this is not a support thread - this is trying to convince
 the core devs that they have well and truly screwed up surrounding the
 htaccess creation in 3.0

 This thread contains some classic debugging of the issues above -
 http://wordpress.org/support/topic/412026?replies=28

 It also identifies that 3.0's use of /files/ as part of the rewrite path
 is at the heart of all the issues ... as the rewrite function uses "files"
 and "file" as reserved use command words, yet WP have introduced them as
 part of the path.

 Ergo - Another bug in WP 3.0 htaccess writing and sub-blog path
 structures.

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


More information about the wp-trac mailing list