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

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 15 00:18:11 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:  dev-feedback  |
--------------------------+-----------------------

Comment (by edwardw):

 Replying to [comment:20 dmole]:
 >
 > Images, links, and css seem to all be working, but redirects are not:
 >
 > http://192.168.1.110/wordpress/wp-admin/
 >
 > redirects to
 >
 > http://my.domain.tld/wordpress/wp-
 login.php?redirect_to=http%3A%2F%2F192.168.1.110%2Fwordpress%2Fwp-
 admin%2F&reauth=1
 >
 > so that patch still needs redirects tweaked before it's usable.
 > Good work so far.
 >

 {{{
 $ wget http://192.168.2.101:81/wordpress/wp-admin/
 --2011-08-14 20:15:36--  http://192.168.2.101:81/wordpress/wp-admin/
 Connecting to 192.168.2.101:81... connected.
 HTTP request sent, awaiting response... 302 Found
 Location: /wordpress/wp-
 login.php?redirect_to=http%3A%2F%2F192.168.2.101%3A81%2Fwordpress%2Fwp-
 admin%2F&reauth=1 [following]
 --2011-08-14 20:15:37--  http://192.168.2.101:81/wordpress/wp-
 login.php?redirect_to=http%3A%2F%2F192.168.2.101%3A81%2Fwordpress%2Fwp-
 admin%2F&reauth=1
 Connecting to 192.168.2.101:81... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 1980 (1.9K) [text/html]
 Saving to: `index.html'

 100%[======================================>] 1,980       --.-K/s   in 0s

 2011-08-14 20:15:37 (111 MB/s) - `index.html' saved [1980/1980]
 }}}

 At least this part looks OK to me - you might want to check your siteurl
 and home settings in your ''wp_options'' table. The "external" URL used
 for feeds and such (in the database) is localhost:81.

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


More information about the wp-trac mailing list