<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Separate development/production environments for WordPress</title>
	<atom:link href="http://blog.bigsmoke.us/2008/07/12/separate-development-environment-for-wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bigsmoke.us/2008/07/12/separate-development-environment-for-wordpress</link>
	<description>Smokes your problems, coughs fresh air.</description>
	<lastBuildDate>Sat, 04 Feb 2012 20:03:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rowan Rodrik</title>
		<link>http://blog.bigsmoke.us/2008/07/12/separate-development-environment-for-wordpress#comment-100752</link>
		<dc:creator>Rowan Rodrik</dc:creator>
		<pubDate>Sun, 14 Nov 2010 16:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=94#comment-100752</guid>
		<description>Hi Luis,

It is much simpler to do it as in &lt;a href=&quot;http://blog.bigsmoke.us/2008/07/12/separate-development-environment-for-wordpress#comment-87928&quot; rel=&quot;nofollow&quot;&gt;your example&lt;/a&gt;, but I just somehow got stuck on playing with environment variables and needlessly complicated rewrite rules.

In two more recent projects I do it very much like you advertise.

Thanks for your comment.</description>
		<content:encoded><![CDATA[<p>Hi Luis,</p>
<p>It is much simpler to do it as in <a href="http://blog.bigsmoke.us/2008/07/12/separate-development-environment-for-wordpress#comment-87928" rel="nofollow">your example</a>, but I just somehow got stuck on playing with environment variables and needlessly complicated rewrite rules.</p>
<p>In two more recent projects I do it very much like you advertise.</p>
<p>Thanks for your comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis</title>
		<link>http://blog.bigsmoke.us/2008/07/12/separate-development-environment-for-wordpress#comment-87928</link>
		<dc:creator>Luis</dc:creator>
		<pubDate>Thu, 19 Nov 2009 03:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=94#comment-87928</guid>
		<description>Isn&#039;t it simpler to just do:

&lt;code lang=&quot;php&quot;&gt;
if ( $_SERVER[&#039;REMOTE_ADDR&#039;] == &#039;127.0.0.1&#039; ) {
	define(&#039;WP_HOME&#039;,&#039;http://example.local&#039;);
	define(&#039;WP_SITEURL&#039;,&#039;http://example.local&#039;);
} else {
	define(&#039;WP_HOME&#039;,&#039;http://example.com&#039;);
	define(&#039;WP_SITEURL&#039;,&#039;http://example.com&#039;);
}
&lt;/code&gt;

Instead of setting the environment variable through apache though?

ANyways, thanks for the writeup.</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t it simpler to just do:</p>
<p><pre class="php"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$_SERVER</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'REMOTE_ADDR'</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">'127.0.0.1'</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<a href="http://www.php.net/define"><span style="color: #000066;">define</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'WP_HOME'</span>,<span style="color: #ff0000;">'http://example.local'</span><span style="color: #66cc66;">&#41;</span>;
	<a href="http://www.php.net/define"><span style="color: #000066;">define</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'WP_SITEURL'</span>,<span style="color: #ff0000;">'http://example.local'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
	<a href="http://www.php.net/define"><span style="color: #000066;">define</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'WP_HOME'</span>,<span style="color: #ff0000;">'http://example.com'</span><span style="color: #66cc66;">&#41;</span>;
	<a href="http://www.php.net/define"><span style="color: #000066;">define</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'WP_SITEURL'</span>,<span style="color: #ff0000;">'http://example.com'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></p>
<p>Instead of setting the environment variable through apache though?</p>
<p>ANyways, thanks for the writeup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BigSmoke &#187; Untangling WordPress&#8217; core files from your local customizations</title>
		<link>http://blog.bigsmoke.us/2008/07/12/separate-development-environment-for-wordpress#comment-74693</link>
		<dc:creator>BigSmoke &#187; Untangling WordPress&#8217; core files from your local customizations</dc:creator>
		<pubDate>Fri, 30 Jan 2009 21:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=94#comment-74693</guid>
		<description>[...] In Giving WordPress Its Own Directory in the WordPress Codex, it is suggested to change the &#8220;siteurl&#8221; and &#8220;home&#8221; options through the administration panel. In my case they would have to be changed to &#8220;http://blog.bigsmoke.us/wp-factory/&#8221; and http://blog.bigsmoke.us&#8220;. I couldn&#8217;t do this because I override these with WP_SITEURL and WP_HOME in my wp-config.php. This is because I configured WordPress to support a development environment separate from the live production environm.... [...]</description>
		<content:encoded><![CDATA[<p>[...] In Giving WordPress Its Own Directory in the WordPress Codex, it is suggested to change the &#8220;siteurl&#8221; and &#8220;home&#8221; options through the administration panel. In my case they would have to be changed to &#8220;<a href="http://blog.bigsmoke.us/wp-factory/&#038;#8221" rel="nofollow">http://blog.bigsmoke.us/wp-factory/&#038;#8221</a>; and <a href="http://blog.bigsmoke.us&#8220;" rel="nofollow">http://blog.bigsmoke.us&#8220;</a>. I couldn&#8217;t do this because I override these with WP_SITEURL and WP_HOME in my wp-config.php. This is because I configured WordPress to support a development environment separate from the live production environm&#8230;. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

