<?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>Digitivity &#187; subdirectory</title>
	<atom:link href="http://digitivity.org/tag/subdirectory/feed" rel="self" type="application/rss+xml" />
	<link>http://digitivity.org</link>
	<description>The Digital Productivity Blog</description>
	<lastBuildDate>Sat, 24 Dec 2011 17:34:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Serve Your WordPress Blog from the Root Directory If It&#8217;s Installed in a Subdirectory</title>
		<link>http://digitivity.org/10/how-to-serve-your-wordpress-blog-from-the-root-directory-if-its-installed-in-a-subdirectory</link>
		<comments>http://digitivity.org/10/how-to-serve-your-wordpress-blog-from-the-root-directory-if-its-installed-in-a-subdirectory#comments</comments>
		<pubDate>Thu, 10 Jul 2008 13:56:18 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[Power User]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[subdirectory]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.digitivity.org/blog/10/how-to-serve-your-wordpress-blog-from-the-root-directory-if-its-installed-in-a-subdirectory-uncategorized</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/category/blogging" title="Blogging">Blogging</a><a href="http://digitivity.org/category/audience/developer" title="Developer">Developer</a><a href="http://digitivity.org/category/audience/power-user" title="Power User">Power User</a></p>If your blog is the main point of focus for your website, you probably want to it serve your pages when a user hits the root of your website, such as: http://example.com/ But, for the sake of keeping your root directory organized on your webserver, you might not want to install WordPress in that directory. [...]


Related posts:<ol><li><a href='http://digitivity.org/739/techcrunch-blog-gets-hacked-again-wordpress-security' rel='bookmark' title='Permanent Link: TechCrunch Blog Gets Hacked Again &#038; WordPress Security'>TechCrunch Blog Gets Hacked Again &#038; WordPress Security</a></li>
<li><a href='http://digitivity.org/310/redhats-fedora-12-lets-users-install-software-without-root-with-policykit' rel='bookmark' title='Permanent Link: RedHat&#8217;s Fedora 12 Lets Users Install Software Without Root with PolicyKit'>RedHat&#8217;s Fedora 12 Lets Users Install Software Without Root with PolicyKit</a></li>
<li><a href='http://digitivity.org/1171/inside-the-pantheon_migrate-module-backup-and-migrate-archive' rel='bookmark' title='Permanent Link: Inside the Pantheon Backup and Migrate Archive'>Inside the Pantheon Backup and Migrate Archive</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If your blog is the main point of focus for your website, you probably want to it serve your pages when a user hits the root of your website, such as:</p>
<p>http://example.com/</p>
<p>But, for the sake of keeping your root directory organized on your webserver, you might not want to install WordPress in that directory.  Rather, you might want to install WordPress in subdirectory, such as &#8220;blog&#8221;.</p>
<h3>Edit the .htaccess file</h3>
<p>Open the file named &#8220;.htaccess&#8221; in the root directory. Or create one if it doesn&#8217;t exist. Add the following to it:<br />
<code><br />
# BEGIN WordPress<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
# END WordPress<br />
</code></p>
<h3>Create an index.php file</h3>
<p>Create a file in the root directory called &#8220;index.php&#8221;. Assuming your WordPress is installed at the /blog subdirectory, add the following to the file:<br />
<code><br />
&lt;?<br />
define('WP_USE_THEMES', true);<br />
require('./blog/wp-blog-header.php');<br />
?&gt;<br />
</code></p>
<h3>Change the blog URL in WordPress options</h3>
<p>Log in as Admin to WordPress. Change the blog URL from &#8220;http://example.com/blog/&#8221; to &#8220;http://example.com/&#8221;</p>


<p>Related posts:<ol><li><a href='http://digitivity.org/739/techcrunch-blog-gets-hacked-again-wordpress-security' rel='bookmark' title='Permanent Link: TechCrunch Blog Gets Hacked Again &#038; WordPress Security'>TechCrunch Blog Gets Hacked Again &#038; WordPress Security</a></li>
<li><a href='http://digitivity.org/310/redhats-fedora-12-lets-users-install-software-without-root-with-policykit' rel='bookmark' title='Permanent Link: RedHat&#8217;s Fedora 12 Lets Users Install Software Without Root with PolicyKit'>RedHat&#8217;s Fedora 12 Lets Users Install Software Without Root with PolicyKit</a></li>
<li><a href='http://digitivity.org/1171/inside-the-pantheon_migrate-module-backup-and-migrate-archive' rel='bookmark' title='Permanent Link: Inside the Pantheon Backup and Migrate Archive'>Inside the Pantheon Backup and Migrate Archive</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/10/how-to-serve-your-wordpress-blog-from-the-root-directory-if-its-installed-in-a-subdirectory/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: digitivity.org @ 2012-02-08 20:38:08 -->
