[wp-trac] [WordPress Trac] #17048: URLs delivered to the browser should be root-relative

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 16 15:57:14 UTC 2011


#17048: URLs delivered to the browser should be root-relative
--------------------------+-----------------------
 Reporter:  dmole         |       Owner:  edwardw
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------
Changes (by edwardw):

 * keywords:  close =>


Comment:

 Replying to [comment:22 azaozz]:
 > I'm with @nacin on this. Having absolute URLs in WordPress is a design
 decision that's not likely to change. Furthermore I don't see any
 compelling user case that requires it to change. The user case here:
 >
 > > -Using absolute URLs like " http://domain.tld/path/file" (current
 behavior) breaks css and links if the server uses more then one domain/ip
 >
 > is very rare and should preferably be handled in .htaccess or web.config
 as that will be the fastest solution. Don't see the need to add anything
 to WordPress for that.

 Please see comments 3 and 6 above for the rationale that is being
 discussed here. Root-relative URLs will make WordPress a more robust and
 compatible piece of software, but those of us interested in feature
 development who are trying to fix it here keep bumping into uncooperative
 responses or are being shafted and ignored.

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


More information about the wp-trac mailing list