<?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>SpiderSavvy &#187; 301-redirect</title>
	<atom:link href="http://spidersavvy.com/tag/301-redirect/feed/" rel="self" type="application/rss+xml" />
	<link>http://spidersavvy.com</link>
	<description>Building The Web</description>
	<lastBuildDate>Tue, 09 Mar 2010 18:07:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>To www or not to www</title>
		<link>http://spidersavvy.com/to-www-or-not-to-www/</link>
		<comments>http://spidersavvy.com/to-www-or-not-to-www/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 18:07:51 +0000</pubDate>
		<dc:creator>SpiderSavvy</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[.htacess]]></category>
		<category><![CDATA[301-redirect]]></category>

		<guid isPermaLink="false">http://spidersavvy.com/?p=1973</guid>
		<description><![CDATA[When you type in a URL do you enter www.website.com or just website.com?]]></description>
			<content:encoded><![CDATA[<p>When you type in a URL do you enter <strong>www.website.com</strong> or just <strong>website.com</strong>?</p>
<p>Both should take should take you to the same place. If not there is a problem! Personally, I don&#8217;t want to type in the &#8216;www&#8217; and I don&#8217;t really see the need for it.  For example, when I go to <a title="SpiderSavvy" href="http://spidersavvy.com">SpiderSavvy.com </a>or <a title="James McWhorter" href="http://JamesMcWhorter.com">JamesMcWhorter.com</a> I don&#8217;t type in www.</p>
<p><a href="http://spidersavvy.com/wp-content/uploads/2010/01/Screen-shot-2010-01-04-at-12.45.28-PM.png"><img class="alignleft size-medium wp-image-1974" style="border: none;" title="301 redirect" src="http://spidersavvy.com/wp-content/uploads/2010/01/Screen-shot-2010-01-04-at-12.45.28-PM-300x297.png" alt="" width="240" height="238" /></a>This brings me to an important SEO and usability tip that is often overlooked in sites with regards to those who find your site by typing &#8216;www&#8217; before the domain name. Search engines may think <strong>spidersavvy.com</strong> and <strong>www.spidersavvy.com</strong> are two different sites. To avoid dillution of your Web site&#8217;s SEO you should set up a permanent redirect (technically called a &#8220;301 redirect&#8221;) between these sites. Once you do that, you will get full search engine credit for your work on these sites.</p>
<p>It works like this.  When you enter <strong>www.SpiderSavvy.com</strong> the redirect will automatically take you to <strong>http://SpiderSavvy.com</strong>.  This effectively funnels all traffic through one place instead of two or more.</p>
<p>This can be done by finding the .htaccess file, on your Web site, and entering:</p>
<blockquote><p>
<code></p>
<div id="_mcePaste">RewriteEngine On</div>
<div id="_mcePaste">RewriteCond %{HTTP_HOST} ^www.(.*) [NC]</div>
<div id="_mcePaste">RewriteRule ^(.*) http://%1/$1 [R=301]</div>
<p></code>
</p></blockquote>
<address>Note:  The .htaccess file is VERY powerful.  Please use caution when making changes and always backup your files early and often!</address>
]]></content:encoded>
			<wfw:commentRss>http://spidersavvy.com/to-www-or-not-to-www/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
