<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: To WWW or Not WWW : Canonicalization, SEO and the .htaccess Fix</title>
	<link>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/</link>
	<description>Web Design, Development &#038; Consulting</description>
	<pubDate>Sat, 11 Oct 2008 13:31:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>By: Travis</title>
		<link>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-325</link>
		<author>Travis</author>
		<pubDate>Tue, 23 Oct 2007 14:54:14 +0000</pubDate>
		<guid>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-325</guid>
					<description>What if you want to use the non WWW version as your canonical url? In other words, you want everything pointing to: http://yourdomain.com

Then what would the code look like?

Travis</description>
		<content:encoded><![CDATA[<p>What if you want to use the non WWW version as your canonical url? In other words, you want everything pointing to: <a href="http://yourdomain.com" rel="nofollow">http://yourdomain.com</a></p>
<p>Then what would the code look like?</p>
<p>Travis</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Travis Langley</title>
		<link>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-330</link>
		<author>Travis Langley</author>
		<pubDate>Wed, 24 Oct 2007 19:36:28 +0000</pubDate>
		<guid>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-330</guid>
					<description>Hi Travis,

I believe this should do the trick.

&lt;code&gt;RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]&lt;/code&gt;

Pretty much like the first example, but in line 1 we remove the "!" (respresents NOT and meant the url did not start with www, but now we are rewriting if it does start with www), and in the second line we leave the www out of the RewriteRule. 

Again, remember to replace domain.com in the example above with your domain name.</description>
		<content:encoded><![CDATA[<p>Hi Travis,</p>
<p>I believe this should do the trick.</p>
<p><code>RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]<br />
RewriteRule ^(.*)$ <a href="http://domain.com/$1" rel="nofollow">http://domain.com/$1</a> [L,R=301]</code></p>
<p>Pretty much like the first example, but in line 1 we remove the &#8220;!&#8221; (respresents NOT and meant the url did not start with www, but now we are rewriting if it does start with www), and in the second line we leave the www out of the RewriteRule. </p>
<p>Again, remember to replace domain.com in the example above with your domain name.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Cola Tax &#38; Solutions</title>
		<link>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-671</link>
		<author>Cola Tax &#38; Solutions</author>
		<pubDate>Thu, 17 Apr 2008 16:28:47 +0000</pubDate>
		<guid>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-671</guid>
					<description>Great stuff! Do you know if it is possible to do this with Microsoft Live Small Business? If so please contact me!</description>
		<content:encoded><![CDATA[<p>Great stuff! Do you know if it is possible to do this with Microsoft Live Small Business? If so please contact me!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Travis Langley</title>
		<link>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-672</link>
		<author>Travis Langley</author>
		<pubDate>Thu, 17 Apr 2008 17:30:34 +0000</pubDate>
		<guid>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-672</guid>
					<description>I am not familiar with Microsoft Live Small Business, but I believe it probably runs on an IIS server.  The example above uses .htaccess which works on Apache servers, not IIS.  

However, you may look into isapi rewrite to accomplish the same thing.  It is designed to work on IIS servers and you can get more detailed information about isapi rewrite by visiting http://www.isapirewrite.com/.</description>
		<content:encoded><![CDATA[<p>I am not familiar with Microsoft Live Small Business, but I believe it probably runs on an IIS server.  The example above uses .htaccess which works on Apache servers, not IIS.  </p>
<p>However, you may look into isapi rewrite to accomplish the same thing.  It is designed to work on IIS servers and you can get more detailed information about isapi rewrite by visiting <a href="http://www.isapirewrite.com/." rel="nofollow">http://www.isapirewrite.com/.</a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Holly</title>
		<link>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-1940</link>
		<author>Holly</author>
		<pubDate>Mon, 18 Aug 2008 15:24:58 +0000</pubDate>
		<guid>http://www.travislangley.com/weblog/2007/08/01/to-www-or-not-www-canonicalization-seo-and-the-htaccess-fix/#comment-1940</guid>
					<description>Cool, thanks so much for this!  I've been looking for a nice, simple explanation of canonicalization issues.  Good job!</description>
		<content:encoded><![CDATA[<p>Cool, thanks so much for this!  I&#8217;ve been looking for a nice, simple explanation of canonicalization issues.  Good job!</p>
]]></content:encoded>
				</item>
</channel>
</rss>
