<?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>Bit Matrix &#187; web</title>
	<atom:link href="http://blog.bit-matrix.com/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bit-matrix.com</link>
	<description>Tech. Code. Linux. MySQL. Ones. Zeroes.</description>
	<lastBuildDate>Tue, 31 Aug 2010 01:10:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lower-case all URLs with Apache mod_rewrite</title>
		<link>http://blog.bit-matrix.com/2010/02/05/lower-case-all-urls-with-apache-mod_rewrite/</link>
		<comments>http://blog.bit-matrix.com/2010/02/05/lower-case-all-urls-with-apache-mod_rewrite/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 20:46:36 +0000</pubDate>
		<dc:creator>Bit Matrix</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://blog.bit-matrix.com/?p=109</guid>
		<description><![CDATA[Search engines, like Google, will index URLs on your site in a case-sensitive fashion, so www.yoursite.com/iamtest shows up as a different page than www.yoursite.com/iAmTest. This has negative consequences for your search rankings as these different URLs will be interpreted as duplicate content.
In this case we want to re-direct our users and any bots to the [...]]]></description>
			<content:encoded><![CDATA[<p>Search engines, like Google, will index URLs on your site in a case-sensitive fashion, so www.yoursite.com/iamtest shows up as a different page than www.yoursite.com/iAmTest. This has negative consequences for your search rankings as these different URLs will be interpreted as duplicate content.<span id="more-109"></span></p>
<p>In this case we want to re-direct our users and any bots to the same version of the URL (i.e. all lowercase). If you are running Apache, make sure <b>mod_rewrite</b> is installed and make the following changes to your configuration.</p>
<p>1. In your server config or virtual host file:<br />
<code>RewriteMap  lc int:tolower</code></p>
<p>2. In your .htaccess file at the root of your site:<br />
<code><br />
# Lower-case and 301 all requests<br />
RewriteEngine On<br />
RewriteCond %{REQUEST_URI} [A-Z]<br />
RewriteRule ^(.*)$ /${lc:$1} [L,R=301]<br />
</code></p>
<p><b>Note:</b> Beware that some standard files are mixed case and might be broken by doing this (such as AC_RunActiveContent.js).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bit-matrix.com/2010/02/05/lower-case-all-urls-with-apache-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
