[wp-trac] [WordPress Trac] #14774: Incorrect sub-directory multisite URL constants

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 13 01:48:20 UTC 2010


#14774: Incorrect sub-directory multisite URL constants
--------------------------+-------------------------------------------------
 Reporter:  jfarthing84   |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  Multisite     |      Version:  3.0.1  
 Severity:  normal        |   Resolution:  invalid
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by nacin):

  * status:  reopened => closed
  * resolution:  => invalid


Comment:

 This is expected behavior. These links are rewritten properly, i.e.
 http://example.com/some-site/wp-content/ would then be rewritten to
 http://example.com/wp-content/ via htaccess (if using Apache).

 If you want the actual path, then use WP_CONTENT_DIR. If you want to
 remove some-site from the URL, then filter it or define the constant on
 your own.

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


More information about the wp-trac mailing list