<?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: Htaccess to add www to all pages of a site</title>
	<atom:link href="http://thewebfiles.com/2007/06/08/htaccess-to-add-www-to-all-pages-of-a-site/feed/" rel="self" type="application/rss+xml" />
	<link>http://thewebfiles.com/2007/06/08/htaccess-to-add-www-to-all-pages-of-a-site/</link>
	<description>Web site promotion and marketing info, Helpful Tips, Latest Gadgets, News and Webdesign Services</description>
	<lastBuildDate>Sat, 13 Mar 2010 08:53:38 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: philip</title>
		<link>http://thewebfiles.com/2007/06/08/htaccess-to-add-www-to-all-pages-of-a-site/comment-page-1/#comment-1328</link>
		<dc:creator>philip</dc:creator>
		<pubDate>Mon, 14 Jul 2008 18:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://thewebfiles.com/2007/06/08/htaccess-to-add-www-to-all-pages-of-a-site/#comment-1328</guid>
		<description>@jan - 
Thanks for that, but there is a typo in there:

the last line should have a dollar sign before the numeral 1 e.g.

rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

Thanks, tho</description>
		<content:encoded><![CDATA[<p><span name="Konabody"><!-- KonteraControl-->@jan &#8211;<br />
Thanks for that, but there is a typo in there:</p>
<p>the last line should have a dollar sign before the numeral 1 e.g.</p>
<p>rewriterule ^(.*)$ <a href="http://www.domain.com/$1">http://www.domain.com/$1</a> [r=301,nc]</p>
<p>Thanks, tho</span><!-- inner Kona Span Tag: KonteraControl--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan London</title>
		<link>http://thewebfiles.com/2007/06/08/htaccess-to-add-www-to-all-pages-of-a-site/comment-page-1/#comment-595</link>
		<dc:creator>Jan London</dc:creator>
		<pubDate>Tue, 11 Sep 2007 12:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://thewebfiles.com/2007/06/08/htaccess-to-add-www-to-all-pages-of-a-site/#comment-595</guid>
		<description>How about this one?

Options  FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

The first line isn&#039;t necessary. This code works for all of my domains perfectly.</description>
		<content:encoded><![CDATA[<p><span name="Konabody"><!-- KonteraControl-->How about this one?</p>
<p>Options  FollowSymlinks<br />
RewriteEngine on<br />
rewritecond %{http_host} ^domain.com [nc]<br />
rewriterule ^(.*)$ <a href="http://www.domain.com/$1">http://www.domain.com/$1</a> [r=301,nc]</p>
<p>The first line isn&#8217;t necessary. This code works for all of my domains perfectly.</span><!-- inner Kona Span Tag: KonteraControl--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imagex</title>
		<link>http://thewebfiles.com/2007/06/08/htaccess-to-add-www-to-all-pages-of-a-site/comment-page-1/#comment-194</link>
		<dc:creator>Imagex</dc:creator>
		<pubDate>Sat, 09 Jun 2007 01:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://thewebfiles.com/2007/06/08/htaccess-to-add-www-to-all-pages-of-a-site/#comment-194</guid>
		<description>You might also want to set up redirects from the www. to the non www or vice versa so that you get a compounding effect from incoming links, because search engines treat the 2 url versions differently, but the redirect combines the link love.</description>
		<content:encoded><![CDATA[<p><span name="Konabody"><!-- KonteraControl-->You might also want to set up redirects from the www. to the non www or vice versa so that you get a compounding effect from incoming links, because search engines treat the 2 url versions differently, but the redirect combines the link love.</span><!-- inner Kona Span Tag: KonteraControl--></p>
]]></content:encoded>
	</item>
</channel>
</rss>
