<?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 - Search Engine Optimization Blog &#187; 301 redirect</title>
	<atom:link href="http://www.bettermychance.org/tag/301-redirect/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bettermychance.org</link>
	<description>Better My Chances For Good SERPs</description>
	<lastBuildDate>Fri, 16 May 2008 08:54:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>301 Redirect &#8211; 301 Redirect Non WWW URL To WWW URL</title>
		<link>http://www.bettermychance.org/301-redirect-301-redirect-non-www-url-to-www-url.html</link>
		<comments>http://www.bettermychance.org/301-redirect-301-redirect-non-www-url-to-www-url.html#comments</comments>
		<pubDate>Mon, 01 Oct 2007 12:03:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO Basics]]></category>
		<category><![CDATA[301 redirect]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mod rewrite]]></category>
		<category><![CDATA[non www]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.bettermychance.org/?p=3</guid>
		<description><![CDATA[An important factor to remember when first setting up your site is to decide how you would like your URL&#8217;s to be displayed. you should choose one and then stick to it.
For example, do you want your name to be displayed as
bettermychance.org
or
www.bettermychance.org
Personally i prefer the more traditional method including the www. at the front of [...]]]></description>
			<content:encoded><![CDATA[<p>An important factor to remember when first setting up your site is to decide how you would like your URL&#8217;s to be displayed. you should choose one and then stick to it.</p>
<p>For example, do you want your name to be displayed as</p>
<p><a href="http://bettermychance.org/">bettermychance.org</a></p>
<p>or</p>
<p><a href="http://www.bettermychance.org/">www.bettermychance.org</a></p>
<p>Personally i prefer the more traditional method including the www. at the front of the URL.</p>
<p>So what do i need to do once i have decided the format i want my URL to be displayed in?</p>
<p>The following bit of code needs to be placed in your sites root directory in a file called .htaccess</p>
<p>If you don&#8217;t have one, create one via ftp.</p>
<p>If you have decided to go for the www version you need to use the following code:</p>
<p>RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^example\.co\.uk<br />
RewriteRule (.*) http://www.example.co.uk/$1 [R=301,L]</p>
<p>Remember to change example for your own domain.</p>
<p>If you want to use the non www version use this code<br />
RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]<br />
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]</p>
<p>Again remember to change the example for your own domain.</p>
<p>This is designed to work on Linux servers and will not work on windows server based hosting</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bettermychance.org/301-redirect-301-redirect-non-www-url-to-www-url.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
