<?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"
	>
<channel>
	<title>Comments on: .htaccess Redirect a Directory to a Subdomain and Force WWW</title>
	<atom:link href="http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/</link>
	<description>web development, photography, tutorials and adventure</description>
	<pubDate>Tue, 06 Jan 2009 14:51:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Vilmis</title>
		<link>http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-1852</link>
		<dc:creator>Vilmis</dc:creator>
		<pubDate>Mon, 17 Nov 2008 23:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-1852</guid>
		<description>&lt;p&gt;Thanks for this post, exactly what I was looking for.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for this post, exactly what I was looking for.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Mos</title>
		<link>http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-1380</link>
		<dc:creator>Alex Mos</dc:creator>
		<pubDate>Sat, 11 Oct 2008 15:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-1380</guid>
		<description>&lt;p&gt;I am having problem redirecting blog.domain.com to www.domain.com/blog/&lt;/p&gt;

&lt;p&gt;I tried many “htaccess redirect subdomain folder” examples around the web but none seems to be working properly… it redirects to http://www.domain.com without the directory /blog/&lt;/p&gt;

&lt;p&gt;any ideea how to make this work?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am having problem redirecting blog.domain.com to <a href="http://www.domain.com/blog/" rel="nofollow">http://www.domain.com/blog/</a></p>

<p>I tried many “htaccess redirect subdomain folder” examples around the web but none seems to be working properly… it redirects to <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a> without the directory /blog/</p>

<p>any ideea how to make this work?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Terri Ann</title>
		<link>http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-811</link>
		<dc:creator>Terri Ann</dc:creator>
		<pubDate>Mon, 30 Jun 2008 14:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-811</guid>
		<description>&lt;p&gt;@XL I'd give this a shot, I haven't tested it myself but I'm about 99% sure on it!&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Options -Indexes +FollowSymLinks

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/blog&#36;1 [L,R=301]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will ensure (especially important if you are moving your &lt;em&gt;entire&lt;/em&gt; blog) that example.com/2008/06/this-blog-name redirects to example.com/&lt;strong&gt;blog&lt;/strong&gt;/2008/06/this-blog-name.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@XL I'd give this a shot, I haven't tested it myself but I'm about 99% sure on it!</p>

<pre><code>Options -Indexes +FollowSymLinks

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ <a href="http://www.example.com/blog&#36;1" rel="nofollow">http://www.example.com/blog&#36;1</a> [L,R=301]
</code></pre>

<p>This will ensure (especially important if you are moving your <em>entire</em> blog) that example.com/2008/06/this-blog-name redirects to example.com/<strong>blog</strong>/2008/06/this-blog-name.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: XL</title>
		<link>http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-809</link>
		<dc:creator>XL</dc:creator>
		<pubDate>Mon, 30 Jun 2008 14:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-809</guid>
		<description>&lt;p&gt;Thanks,
but i want to redirect from example.com to example.com/blog
,,,??!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks,
but i want to redirect from example.com to example.com/blog
,,,??!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: urban bohemian</title>
		<link>http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-604</link>
		<dc:creator>urban bohemian</dc:creator>
		<pubDate>Wed, 04 Jun 2008 16:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ninedays.org/2008/03/11/htaccess-redirect-a-directory-to-a-subdomain-and-force-www/#comment-604</guid>
		<description>&lt;p&gt;Thank you so much!  You may have saved me a huge headache.  While I work on my primary domain, I created a subdomain for my blog but had to use a fairly wonky 404 page in the meantime.&lt;/p&gt;

&lt;p&gt;I'll give this a try.  Thanks again.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you so much!  You may have saved me a huge headache.  While I work on my primary domain, I created a subdomain for my blog but had to use a fairly wonky 404 page in the meantime.</p>

<p>I'll give this a try.  Thanks again.</p>]]></content:encoded>
	</item>
</channel>
</rss>
