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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 17 10:34:55 UTC 2011


#17048: URLs delivered to the browser should be root-relative
-----------------------------+-----------------------
 Reporter:  dmole            |       Owner:  edwardw
     Type:  feature request  |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  General          |     Version:  3.1
 Severity:  normal           |  Resolution:
 Keywords:  close            |
-----------------------------+-----------------------

Comment (by edwardw):

 Replying to [comment:30 dd32]:
 > Original: http://clients.dd32.id.au/client1/; New: http://client.com.au/
 >
 > Original: http://client.com.au/; New: http://clients.dd32.id.au/client3/
 >

 This is not a problem, as the root is clearly defined in the database as
 siteurl and home - you would just change
 http://clients.dd32.id.au/client1/ to http://client.com.au/ in the
 database. The relative URLs will be served relative to the roots defined
 here to ensure WordPress usability when accessed with more than one IP
 address/domain. Just to clarify, it is the root defined in the WordPress
 database, which doesn't have to always be / - it could be /blog,
 /wordpress or anything else.

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


More information about the wp-trac mailing list