[wp-trac] Re: [WordPress Trac] #5653: Canonical URLs interfere with proxy host

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 7 04:05:39 GMT 2008


#5653: Canonical URLs interfere with proxy host
----------------------+-----------------------------------------------------
 Reporter:  ekennedy  |        Owner:  anonymous
     Type:  defect    |       Status:  new      
 Priority:  normal    |    Milestone:  2.6      
Component:  General   |      Version:           
 Severity:  normal    |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by isaacschlueter):

 This also is pretty annoying for hosting a test/dev copy of my blog on
 localhost, or any time a host could have multiple names (a pretty common
 occurrence.)  If I want to show the copy running on my local box to
 someone (to get their opinion on a new design, for example,) then I need
 to change the settings, since the hostname that they'll see will be
 something like "traveling-laptop-80.corp", but when I'm home, it's
 "localhost" or "sistertrain.local".

 To get around this, I had set my blog URL to /foohack.com/, so that it
 would create links relative to whatever host the browser was seeing.  The
 canonical url feature breaks this, however, because it seems to be pre-
 pending http:// to the URL.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5653#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list