[wp-hackers] Site Address during development

Michael Clark dc153464a11bcf5aeb18180db28017fb.wp-hackers at planetmike.com
Thu Sep 2 14:48:38 UTC 2010


At 9:30 AM -0500 9/2/10, Otto wrote:
>On Thu, Sep 2, 2010 at 8:09 AM, Alex Hempton-Smith 
><hempsworth at gmail.com> wrote:
>>  This is always an ongoing issue for me. Any tips would be great!
>
>One easy way that we use: Don't use development URLs, use the real
>URLs. Just repoint them to your development server.
>
>Edit your hosts file, and add a line like this:
>127.0.0.1 example.com
>
>Then set up WordPress on your local machine using the example.com URL.
>
>When you're ready to move it to the live server, delete the line from
>the hosts file and just move the whole thing over. All the URLs will
>still say example.com in them, it's just not pointing to your local
>machine any more.

This won't work when the client is passing the URL around to their 
Board of Directors or employees. It's not reasonable to expect many 
people to change browser or Internet settings, vs simply giving them 
http://dev.example.com/ .

But I am glad to see I'm not the only person who is frustrated by 
this situation. Thanks to Matthew for the MySQL pointer and Codex 
link. Mike


-- 

Michael Clark
http://www.PlanetMike.com

Christmas Music 24 Hours a Day, 7 Days a week
http://www.ChristmasMusic247.com

"Injustice anywhere is a threat to justice everywhere."
  - Martin Luther King Jr.


More information about the wp-hackers mailing list