<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Austin Matzko&#039;s Blog &#187; relocate</title>
	<atom:link href="http://austinmatzko.com/tag/relocate/feed/" rel="self" type="application/rss+xml" />
	<link>http://austinmatzko.com</link>
	<description>A blog about philosophy, Christianity, web development and whatever else I feel like writing about.</description>
	<lastBuildDate>Wed, 16 Mar 2011 17:14:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2-RC4-18391</generator>
		<item>
		<title>WordPress Relocation Without Editing the Database</title>
		<link>http://austinmatzko.com/2007/03/20/wordpress-relocation-without-editing-the-database/</link>
		<comments>http://austinmatzko.com/2007/03/20/wordpress-relocation-without-editing-the-database/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 21:07:31 +0000</pubDate>
		<dc:creator>filosofo</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[relocate]]></category>

		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2007/03/20/wordpress-relocation-without-editing-the-database/</guid>
		<description><![CDATA[Here&#8217;s a tip I picked up on the WordPress hackers&#8217; list: you can change the &#8220;siteurl&#8221; WordPress option simply by adding define('RELOCATE',true); to the wp-config.php file and browsing to wp-login.php. The &#8220;siteurl&#8221; option&#8212;or what&#8217;s called &#8220;WordPress address&#8221; under the admin options menu&#8212;is a database value that refers to where the actual WordPress files live, as [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a tip I picked up on the WordPress <a href="http://comox.textdrive.com/pipermail/wp-hackers/2007-March/011308.html">hackers&#8217; list</a>:  you can change the &#8220;siteurl&#8221; WordPress option simply by adding <code>define('RELOCATE',true);</code> to the wp-config.php file and browsing to wp-login.php.</p>  

<p>The &#8220;siteurl&#8221; option&mdash;or what&#8217;s called &#8220;WordPress address&#8221; under the admin options menu&mdash;is a database value that refers to where the actual WordPress files live, as opposed to where the site appears to be, which is the &#8220;home&#8221; option (called &#8220;Blog address&#8221; in the options panel).
</p>

<p>For example, if I have my site located at www.ilfilosofo.com, it would be easier to keep track of WordPress files, manage upgrades, etc., if I were to put all the files in a sub-directory, say www.ilfilosofo.com/wp.  Everything would still appear at www.ilfilosofo.com (the &#8220;home&#8221; setting), but the files would actually be at www.ilfilosofo.com/wp (the &#8220;siteurl&#8221; setting).  Normally you&#8217;d have to edit the database to do this, and it&#8217;s something I do <em>a lot</em>.</p>

<p>(Note that contra the hackers list, this resets only the &#8220;siteurl&#8221; option, not the &#8220;home&#8221; option.)</p>

<p>Since I&#8217;m frequently editing the database just to change the &#8220;siteurl&#8221; and &#8220;home&#8221; options, what I&#8217;d really like is to be able to set them in wp-config.php.  <a href="http://comox.textdrive.com/pipermail/wp-hackers/2007-March/011280.html">Lead WP developer Matt Mullenweg has suggested something similar</a>, so I <a href="http://trac.wordpress.org/ticket/4003">submitted a patch</a> with the hopes of getting this feature into a future version of WordPress.</p>

]]></content:encoded>
			<wfw:commentRss>http://austinmatzko.com/2007/03/20/wordpress-relocation-without-editing-the-database/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
