<?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>Serenity &#187; Directory</title>
	<atom:link href="http://seanchenxi.com/tag/directory/feed" rel="self" type="application/rss+xml" />
	<link>http://seanchenxi.com</link>
	<description>-非淡泊无以明志，非宁静无以致远</description>
	<lastBuildDate>Sun, 11 Mar 2012 17:30:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Leaving Your Blog in the Root Directory</title>
		<link>http://seanchenxi.com/leaving-your-blog-in-the-root-directory.html</link>
		<comments>http://seanchenxi.com/leaving-your-blog-in-the-root-directory.html#comments</comments>
		<pubDate>Thu, 03 Jan 2008 21:42:58 +0000</pubDate>
		<dc:creator>Xi</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Directory]]></category>

		<guid isPermaLink="false">http://seanchenxi.com/leaving-your-blog-in-the-root-directory/</guid>
		<description><![CDATA[Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory Many people want WordPress to power their site&#8217;s root (e.g. http://example.com) but they don&#8217;t want all of the WordPress files cluttering up their root directory. WordPress allows you to install the WordPress files to a subdirectory, but have your blog exist in [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><span class="mw-headline">Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory</span></p>
<p><span class="mw-headline">Many people want WordPress to power their site&#8217;s root (<font color="#0000ff">e.g. <tt>http://example.com</tt></font>) but they don&#8217;t want all of the WordPress files cluttering up their root directory. WordPress allows you to install the WordPress files to a subdirectory, but have your blog exist in the site root.</span><span class="mw-headline">The process to move WordPress into its own directory is as follows:</span><span class="mw-headline"></span><span class="mw-headline"></span><span class="mw-headline"></span><span class="mw-headline"></span><span class="mw-headline"></span><span class="mw-headline"></span><span class="mw-headline"></p>
<ol>
<li>Create the new location for the core WordPress files to be stored (we will use<font color="#0000ff"> <tt>/wordpress</tt></font> in our examples).</li>
<li>Go to the <a href="http://codex.wordpress.org/Administration_Panels#Options_-_Configuration_Settings" title="Administration Panels"><strong><font color="#003366">Options</font></strong></a> panel.</li>
<li>In the box for <strong>WordPress address (URL):</strong> change the address to the new location of your main WordPress core files. Example: <tt><font color="#0000ff">http://example.com/wordpress</font></tt></li>
<li>In the box for <strong>Blog address (URL):</strong> change the address to the root directory&#8217;s URL. Example: <tt><font color="#0000ff">http://example.com</font></tt></li>
<li>Click <strong>Update Options</strong>.</li>
<li>Move your WordPress core files to the new location (WordPress address).</li>
<li>Copy the <tt><font color="#0000ff">index.php</font></tt> and <tt><font color="#0000ff">.htaccess</font></tt> files from the WordPress directory into the root directory of your site (Blog address).</li>
<li>Open your root directory&#8217;s <tt><font color="#0000ff">index.php</font></tt> file in a <a href="http://codex.wordpress.org/Glossary#Text_editor" title="Glossary"><strong><font color="#003366">text editor</font></strong></a></li>
<li>Change the following and save the file. Change the line that says:<br />
<font color="#0000ff"><tt>require('./wp-blog-header.php');</tt><br />
</font>to the following, using your directory name for the WordPress core files:<br />
<tt><font color="#0000ff">require('./wordpress/wp-blog-header.php');</font></tt></li>
<li>Login to the new location. It might now be <tt><font color="#0000ff">http://example.com/wordpress/wp-admin/</font></tt></li>
<li>If you have set up <a href="http://codex.wordpress.org/Using_Permalinks" title="Using Permalinks"><strong><font color="#003366">Permalinks</font></strong></a>, go to the <a href="http://codex.wordpress.org/Administration_Panels#Permalinks" title="Administration Panels"><strong><font color="#003366">Permalinks panel</font></strong></a> and update your Permalink structure. WordPress will automatically update your <tt><font color="#0000ff">.htaccess</font></tt> file if it has the appropriate file permissions. If WordPress can&#8217;t write to your <tt><font color="#0000ff">.htaccess</font></tt> file, it will display the new rewrite rules to you, which you should manually copy into your <font color="#0000ff"><tt>.htaccess</tt> </font>file (in the same directory as the main <tt><font color="#0000ff">index.php</font></tt> file.)</li>
</ol>
<p><small>Retrieved from:<a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory"><font color="#003366">http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory</font></a></small></p>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://seanchenxi.com/leaving-your-blog-in-the-root-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

