<?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>SEO Blog &#187; htaccess</title>
	<atom:link href="http://blog.spidergourmet.com/category/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spidergourmet.com</link>
	<description>Helping you understand and benefit from SEO</description>
	<lastBuildDate>Fri, 07 Oct 2011 23:05:11 +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>Use .htaccess to redirect non-www to www</title>
		<link>http://blog.spidergourmet.com/2009/11/use-htaccess-to-redirect-non-www-to-www/</link>
		<comments>http://blog.spidergourmet.com/2009/11/use-htaccess-to-redirect-non-www-to-www/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 19:37:36 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[301 redirect]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[website problems]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://blog.spidergourmet.com/?p=55</guid>
		<description><![CDATA[This is the code to use in an apache server environment to redirect non-www requests to the www subdomain for your website. 

Options -Indexes +FollowSymlinks
RewriteEngine on
RewriteBase /
### Non-www Requests to www Requests ###
RewriteCond %{HTTP_HOST} ^YourDomain\.com [NC]
RewriteRule ^(.*)$ http://www.YourDomain.com/$1 [L,R=301]

Use this to ensure that visitors view your website as [www.YourDomain.com] 
]]></description>
			<content:encoded><![CDATA[<p>This is the code to use in an <a href="http://www.yourserverreport.com">apache server environment</a> to redirect non-www requests to the www subdomain for your website. </p>
<p style="font-family:courier new; padding: 0 20px;">
Options -Indexes +FollowSymlinks<br />
RewriteEngine on<br />
RewriteBase /<br />
### Non-www Requests to www Requests ###<br />
RewriteCond %{HTTP_HOST} ^<i style="color: #2681AC; font-weight:bold;">YourDomain</i>\.com [NC]<br />
RewriteRule ^(.*)$ http://www.<i style="color: #2681AC;font-weight:bold;">YourDomain</i>.com/$1 [L,R=301]
</p>
<p>Use this to ensure that visitors view your website as [www.<i style="color: #2681AC;font-weight:bold;">YourDomain</i>.com] </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spidergourmet.com/2009/11/use-htaccess-to-redirect-non-www-to-www/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

