<?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>Product Domains &#187; htaccess</title>
	<atom:link href="http://www.productdomains.com/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.productdomains.com</link>
	<description></description>
	<lastBuildDate>Mon, 10 Oct 2011 13:20:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Redirecting WWW Or Non-WWW To Protect Your Domains Link Equity And Prevent Duplicate Content</title>
		<link>http://www.productdomains.com/2009/10/08/redirecting-www-or-non-www-to-protect-your-domains-link-equity-and-prevent-duplicate-content/</link>
		<comments>http://www.productdomains.com/2009/10/08/redirecting-www-or-non-www-to-protect-your-domains-link-equity-and-prevent-duplicate-content/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 17:14:10 +0000</pubDate>
		<dc:creator>Product Domains</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[redirects]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.productdomains.com/?p=250</guid>
		<description><![CDATA[	<style type="text/css">
		</style>
Using product domains as mini sites are a great way to monetize domains in your portfolio. Depending on your domain name the amount of type-in traffic may be large or small but it is usually consistent. Getting search engine traffic is another way to increase your traffic and income. Starting today and going forward I&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[	<style type="text/css">
		</style><p><img class="alignnone size-full wp-image-253" title="www-redirects" src="http://www.productdomains.com/wp-content/uploads/2009/10/www-redirects.jpg" alt="www-redirects" width="600" height="300" /></p>
<p>Using product domains as mini sites are a great way to monetize domains in your portfolio. Depending on your domain name the amount of type-in traffic may be large or small but it is usually consistent. Getting search engine traffic is another way to increase your traffic and income. Starting today and going forward I&#8217;ll be adding a series of short SEO (Search Engine Optimization) tips to this blog to help you make your product domain sites more search engine friendly to maximize your search results and traffic.</p>
<p>Todays tip is protecting your domains link equity and to prevent duplicate content by telling the search engines that only one version of your domain exists.</p>
<p>These two addresses are not the same in the eyes of search engine spiders even if they serve the same content:</p>
<p>example.com<br />
www.example.com</p>
<p>By redirecting and combining www.example.com to example.com (or the other way around) you are telling search engine spiders that only one version of the domain should be crawled, indexed and ranked.</p>
<p>The following pieces of code should be placed in your sites .htaccess file depending on your usage:</p>
<p><strong>How to redirect Non-WWW to WWW:</strong></p>
<p>RewriteEngine On<br />
RewriteCond %{HTTP_HOST} !^www.example.com<br />
RewriteRule ^.*$ http://www.example.com%{REQUEST_URI} [R=301,L]</p>
<p><strong>How to redirect WWW to non-WWW:</strong></p>
<p>RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^www.example.com<br />
RewriteRule ^.*$ http://example.com%{REQUEST_URI} [R=301,L]</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">How to redirect Non-WWW to WWW:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteEngine On</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteCond %{HTTP_HOST} !^www.example.com</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteRule ^.*$ http://www.example.com%{REQUEST_URI} [R=301,L]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">How to redirect WWW to non-WWW:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteEngine On</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteCond %{HTTP_HOST} ^www.example.com</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteRule ^.*$ http://example.com%{REQUEST_URI} [R=301,L]</div>
]]></content:encoded>
			<wfw:commentRss>http://www.productdomains.com/2009/10/08/redirecting-www-or-non-www-to-protect-your-domains-link-equity-and-prevent-duplicate-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

