<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Force the use of &#8216;www&#8217; in your URL.</title>
	<atom:link href="http://www.usefulgeek.com/blog/2009/03/12/force-the-use-of-www-in-your-url/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.usefulgeek.com/blog/2009/03/12/force-the-use-of-www-in-your-url/</link>
	<description>rants, reviews and kind hearted messages from some geeks</description>
	<lastBuildDate>Mon, 08 Feb 2010 10:00:54 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: darrell</title>
		<link>http://www.usefulgeek.com/blog/2009/03/12/force-the-use-of-www-in-your-url/comment-page-1/#comment-69</link>
		<dc:creator>darrell</dc:creator>
		<pubDate>Wed, 22 Jul 2009 19:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=82#comment-69</guid>
		<description>I used to use the one I posted above all the time. I haven&#039;t tried it recently but it doesn&#039;t work on Mosso/Rackspace Cloud. The one in the post does.</description>
		<content:encoded><![CDATA[<p>I used to use the one I posted above all the time. I haven&#8217;t tried it recently but it doesn&#8217;t work on Mosso/Rackspace Cloud. The one in the post does.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darrell</title>
		<link>http://www.usefulgeek.com/blog/2009/03/12/force-the-use-of-www-in-your-url/comment-page-1/#comment-58</link>
		<dc:creator>darrell</dc:creator>
		<pubDate>Fri, 13 Mar 2009 15:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=82#comment-58</guid>
		<description>I have this one too.
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.example.com$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301]

I think you have to be careful with HTTPS though because if you access https://example.com/securepage you&#039;re going to get http://www.example.com/securepage</description>
		<content:encoded><![CDATA[<p>I have this one too.<br />
RewriteEngine on<br />
RewriteCond %{HTTP_HOST} !^www.example.com$<br />
RewriteRule ^(.*)$ <a href="http://www.example.com/$1" rel="nofollow">http://www.example.com/$1</a> [R=301]</p>
<p>I think you have to be careful with HTTPS though because if you access <a href="https://example.com/securepage" rel="nofollow">https://example.com/securepage</a> you&#8217;re going to get <a href="http://www.example.com/securepage" rel="nofollow">http://www.example.com/securepage</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
