<?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; mod rewrite</title>
	<atom:link href="http://www.bettermychance.org/tag/mod-rewrite/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>Avoiding A Possible Duplicate Content Penalty</title>
		<link>http://www.bettermychance.org/avoiding-a-possible-duplicate-content-penalty.html</link>
		<comments>http://www.bettermychance.org/avoiding-a-possible-duplicate-content-penalty.html#comments</comments>
		<pubDate>Wed, 09 Jan 2008 13:11:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oscommerce SEO]]></category>
		<category><![CDATA[SEO Basics]]></category>
		<category><![CDATA[Site Optimization]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[Content Penalty]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mod rewrite]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.bettermychance.org/avoiding-a-possible-duplicate-content-penalty.html</guid>
		<description><![CDATA[I previously wrote about 301 redirecting www to non www url and vice versa to avoid a possibility of getting a duplicate content penalty, but the is another scenario where you can have two identical homepages.
Google See&#8217;s your domain. say www.bettermychance.org and www.bettermychance.org/index.php as two different pages with the same content on both. so a [...]]]></description>
			<content:encoded><![CDATA[<p>I previously wrote about 301 <a href="http://www.bettermychance.org/301-redirect-301-redirect-non-www-url-to-www-url.html">redirecting www to non www url</a> and vice versa to avoid a possibility of getting a duplicate content penalty, but the is another scenario where you can have two identical homepages.</p>
<p>Google See&#8217;s your domain. say www.bettermychance.org and www.bettermychance.org/index.php as two different pages with the same content on both. so a great way to solve this problem is by putting some code in your .htaccess file</p>
<p>Here is what you do:</p>
<p>Options +FollowSymLinks<br />
RewriteEngine on<br />
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/<br />
RewriteRule ^index\.php$ http://<strong>www.bettermychance.org</strong>/ [R=301,L]</p>
<p>Replacing my domain above for yours.</p>
<p>Now when anyone goes to your domain.com/index.php they will be redirected to your main URL thus eliminating the chance of a duplicate content penalty.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bettermychance.org/avoiding-a-possible-duplicate-content-penalty.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
		<item>
		<title>A Better Permalink Structure</title>
		<link>http://www.bettermychance.org/a-better-permalink-structure.html</link>
		<comments>http://www.bettermychance.org/a-better-permalink-structure.html#comments</comments>
		<pubDate>Sat, 22 Sep 2007 14:42:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO For Blogs]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mod rewrite]]></category>
		<category><![CDATA[Permalink]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[SERPs]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.bettermychance.org/a-better-permalink-structure.html</guid>
		<description><![CDATA[Search engines love to index static pages and Wordpress has a very simple way of rewriting urls to make them search engine friendly, it is called permalinks and you would of seen this in your Wordpress admin panel under the section options.
The best permalink structure i like to use is this:
/%postname%.html
This will rewrite the url [...]]]></description>
			<content:encoded><![CDATA[<p>Search engines love to index static pages and Wordpress has a very simple way of rewriting urls to make them search engine friendly, it is called permalinks and you would of seen this in your Wordpress admin panel under the section options.</p>
<p>The best permalink structure i like to use is this:</p>
<p>/%postname%.html</p>
<p>This will rewrite the url as your post title and give the url the .html extention.</p>
<p>Reason i like this structure, Its a keyword rich URL that is SE&#8217;s friendly, Easy to index and good for SERP&#8217;s</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bettermychance.org/a-better-permalink-structure.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
