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

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 7 05:24:26 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 DD32):

 > 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".

 I get around this by adding this to my hosts file:
 {{{
 127.0.0.1  username.no-ip.com
 }}}
 (c:/windows/system32/drivers/etc/hosts or /etc/hosts on linux)

 And set the site url to username.no-ip.com, That way, Locally username.no-
 ip.com directs to my wordpress install, and online, username.no-ip.com
 directs to my wordpress install, Its quite handy as all the links work
 regardless of if its being viewed locally, or remotely, and the links can
 just be copy/pasted eitherway.

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


More information about the wp-trac mailing list