<?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>Zero Mu Tech Articles &#187; subdomain</title>
	<atom:link href="http://www.techarticles.zeromu.net/tag/subdomain/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techarticles.zeromu.net</link>
	<description>Solutions to computer problems that were in my way.</description>
	<lastBuildDate>Sun, 09 May 2010 03:48:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to move WordPress to a subdomain</title>
		<link>http://www.techarticles.zeromu.net/fixeshacks/how-to-move-wordpress-to-a-subdomain/</link>
		<comments>http://www.techarticles.zeromu.net/fixeshacks/how-to-move-wordpress-to-a-subdomain/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 23:29:47 +0000</pubDate>
		<dc:creator>Jake D</dc:creator>
				<category><![CDATA[Fixes/Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[subdomain]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.techarticles.zeromu.net/2008/02/09/how-to-move-wordpress-to-a-subdomain/</guid>
		<description><![CDATA[I recently made a WordPress blog for one of our clients. Everything was setup fine in a directory similar to www.thewebsite.com/blog/. Then I decided that I wanted the blog to have its own subdirectory, www.blog.thewebsite.com. The quick answer: export your data and reinstall WordPress. The whole story: So I used the cPanel interface of the<br/><br/><a href="http://www.techarticles.zeromu.net/fixeshacks/how-to-move-wordpress-to-a-subdomain/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>I recently made a <a title="WordPress.org" href="http://wordpress.org/">WordPress</a> blog for one of our clients. Everything was setup fine in a directory similar to <code>www.thewebsite.com/blog/</code>.  Then I decided that I wanted the blog to have its own subdirectory, <code>www.blog.thewebsite.com</code>.</p>
<p><strong>The quick answer:</strong> export your data and reinstall WordPress.</p>
<p>The whole story:</p>
<p>So I used the cPanel interface of the web hoster and created a subdomain, blog, and set the document root to <code>/www/blog/</code>.  When I would try to pull up <code>www.blog.thewebsite.com </code>, the browser would just redirect to <code>www.thewebsite.com/</code>, and no blog would appear.</p>
<p>I was going to go through all of the things that I did to try to hack-up WordPress so that I would not have to reinstall, but then I realized that none of that actually worked. I could get far enough that the page would show up and about half of the links would work, but there ended up being an issue with the permalinks.</p>
<p>What I had to do was use the Manage-&gt;Export feature of the WordPress admin area to save my categories, posts, etc.  Then, to uninstall WordPress, I deleted all of the tables in my WordPress database, then ran the <code>install.php</code> script again.  I probably could have kept the <code>users</code> table, and perhaps a few other tables with the plugin settings, but I didn&#8217;t.  So I had to reactivate my plugins and all of the other options that I had changed from the default values.</p>
<p>If you have a better fix for this, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techarticles.zeromu.net/fixeshacks/how-to-move-wordpress-to-a-subdomain/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
