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

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 4 20:59:06 UTC 2011


#17048: urls deliverd to the browser should be root-relative
--------------------------+-----------------------------
 Reporter:  dmole         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Using absolute URLs are needed for email, and maybe RSS, and RPC.

 For normal pages on a fresh install (default theme):

 -Using absolute URLs like "http://domain.tld/path/file" (current behavior)
 breaks css and links if the server uses more then one domain/ip

 -Using relative URLs like "../path/file" would likely break a lot and make
 WordPress unnecessarily complicated.

 -Using root-relative URLs like "/path/file" is the correct design decision
 maximizing compatibility/functionality.

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


More information about the wp-trac mailing list