<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Force Lower-Case URLs with mod_rewrite</title>
	<atom:link href="http://www.chrisabernethy.com/force-lower-case-urls-with-mod_rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 23:42:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Optwizard</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-34011&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-34011</link>
		<dc:creator>Optwizard</dc:creator>
		<pubDate>Thu, 19 Jan 2012 21:09:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-34011</guid>
		<description>If the site i am trying to fix all the urls on the server are /Site-Link would the redirect or force lowercase work for this?</description>
		<content:encoded><![CDATA[<p>If the site i am trying to fix all the urls on the server are /Site-Link would the redirect or force lowercase work for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-32537&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-32537</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Mon, 02 Jan 2012 23:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-32537</guid>
		<description>If you are on a shared server such as HostGator (my case), they will not be able to change the httpd.conf file for you.  Instead, you are going to have to use a php script for a redirect from upper to lower URLs.  My site is hosted at HostGator and the php script redirect works great!</description>
		<content:encoded><![CDATA[<p>If you are on a shared server such as HostGator (my case), they will not be able to change the httpd.conf file for you.  Instead, you are going to have to use a php script for a redirect from upper to lower URLs.  My site is hosted at HostGator and the php script redirect works great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jac</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-28357&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-28357</link>
		<dc:creator>jac</dc:creator>
		<pubDate>Thu, 10 Nov 2011 15:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-28357</guid>
		<description>I am also stuck with this url re-write. I want to pull my hairs now. 
I am doing re-write in httpd.conf file. 

but there are 3-5 level of urls, and I don&#039;t know how to arrange them. I put the 5th level url on top but still some how it goes to zero level url. i.e. www.example.com/abc-def.html

any solution ....</description>
		<content:encoded><![CDATA[<p>I am also stuck with this url re-write. I want to pull my hairs now.<br />
I am doing re-write in httpd.conf file. </p>
<p>but there are 3-5 level of urls, and I don&#8217;t know how to arrange them. I put the 5th level url on top but still some how it goes to zero level url. i.e. <a href="http://www.example.com/abc-def.html" rel="nofollow">http://www.example.com/abc-def.html</a></p>
<p>any solution &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Force Lower-Case URLs with mod_rewrite : Chris Abernethy . com &#124; Local Internet Marketing New Port Beach CA</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-26555&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-26555</link>
		<dc:creator>Force Lower-Case URLs with mod_rewrite : Chris Abernethy . com &#124; Local Internet Marketing New Port Beach CA</dc:creator>
		<pubDate>Fri, 07 Oct 2011 06:23:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-26555</guid>
		<description>[...] fr&amp;#959m: Force Lower-Case URLs w&amp;#1110th mod_rewrite : Chris Abernethy . com   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] fr&amp;#959m: Force Lower-Case URLs w&amp;#1110th mod_rewrite : Chris Abernethy . com   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MG</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-24842&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-24842</link>
		<dc:creator>MG</dc:creator>
		<pubDate>Thu, 01 Sep 2011 02:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-24842</guid>
		<description>Thanks for the info.

If URLs have parameters, will this code force the parameters and their values to lowercase as well, or will just the part of the URL up to the &#039;?&#039; be converted to lowercase? 

Ideally, in my client&#039;s situation, they&#039;d like for parameters and their values to remain in their current case (whether upper or lower) and only force the part of the URL up to the &#039;?&#039; to lowercase (mainly because they have a ton of AdWords tracking codes with some uppercase letters and would prefer to keep it that way). If anyone knows how to revise the code accordingly, that would be most appreciated. 

Thank you.</description>
		<content:encoded><![CDATA[<p>Thanks for the info.</p>
<p>If URLs have parameters, will this code force the parameters and their values to lowercase as well, or will just the part of the URL up to the &#8216;?&#8217; be converted to lowercase? </p>
<p>Ideally, in my client&#8217;s situation, they&#8217;d like for parameters and their values to remain in their current case (whether upper or lower) and only force the part of the URL up to the &#8216;?&#8217; to lowercase (mainly because they have a ton of AdWords tracking codes with some uppercase letters and would prefer to keep it that way). If anyone knows how to revise the code accordingly, that would be most appreciated. </p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Convert and redirect URL in uppercase to lowercase using .htaccess - Admins Goodies</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-24204&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-24204</link>
		<dc:creator>Convert and redirect URL in uppercase to lowercase using .htaccess - Admins Goodies</dc:creator>
		<pubDate>Mon, 15 Aug 2011 18:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-24204</guid>
		<description>[...] From: http://www.chrisabernethy.com/force-lower-case-urls-with-mod_rewrite/ [...]</description>
		<content:encoded><![CDATA[<p>[...] From: <a href="http://www.chrisabernethy.com/force-lower-case-urls-with-mod_rewrite/" rel="nofollow">http://www.chrisabernethy.com/force-lower-case-urls-with-mod_rewrite/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hellas</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-23936&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-23936</link>
		<dc:creator>Hellas</dc:creator>
		<pubDate>Tue, 09 Aug 2011 11:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-23936</guid>
		<description>It does not work on your site.

Try 
http://www.chrisabernethy.com/force-Lower-case-urls-with-mod_rewrite/

with capital L and its not redirecting...</description>
		<content:encoded><![CDATA[<p>It does not work on your site.</p>
<p>Try<br />
<a href="http://www.chrisabernethy.com/force-Lower-case-urls-with-mod_rewrite/" rel="nofollow">http://www.chrisabernethy.com/force-Lower-case-urls-with-mod_rewrite/</a></p>
<p>with capital L and its not redirecting&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Перевод URL в нижний регистр через .htaccess - Aramaki OnLine</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-23771&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-23771</link>
		<dc:creator>Перевод URL в нижний регистр через .htaccess - Aramaki OnLine</dc:creator>
		<pubDate>Fri, 05 Aug 2011 07:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-23771</guid>
		<description>[...] первое решение валит сервер с 500 ошибкой [...]</description>
		<content:encoded><![CDATA[<p>[...] первое решение валит сервер с 500 ошибкой [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-23666&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-23666</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 03 Aug 2011 11:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-23666</guid>
		<description>RewriteMap not running in share hosting. i don&#039;t have permission to edit http.conf. when i use RewriteMap  , server have error to config. How can i use http.conf to use this config.
Thanks</description>
		<content:encoded><![CDATA[<p>RewriteMap not running in share hosting. i don&#8217;t have permission to edit http.conf. when i use RewriteMap  , server have error to config. How can i use http.conf to use this config.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rubycat</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fforce-lower-case-urls-with-mod_rewrite%2F%23comment-21745&#038;seed_title=Force+Lower-Case+URLs+with+mod_rewrite#comment-21745</link>
		<dc:creator>rubycat</dc:creator>
		<pubDate>Thu, 02 Jun 2011 01:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=34#comment-21745</guid>
		<description>I had to alter the htaccess rewriterule a little in order to get it to work--otherwise, it rewrote to the absolulte server path. If this helps anyone else...

First, as stated above, this line goes in httpd.conf:
RewriteMap lc int:tolower

This goes in htaccess:

# used in conjunction with rewritemap in httpd.conf for forcing lowercase
RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule ^[\/]*(.*)$ /${lc:$1} [R=301,L]</description>
		<content:encoded><![CDATA[<p>I had to alter the htaccess rewriterule a little in order to get it to work&#8211;otherwise, it rewrote to the absolulte server path. If this helps anyone else&#8230;</p>
<p>First, as stated above, this line goes in httpd.conf:<br />
RewriteMap lc int:tolower</p>
<p>This goes in htaccess:</p>
<p># used in conjunction with rewritemap in httpd.conf for forcing lowercase<br />
RewriteCond %{REQUEST_URI} [A-Z]<br />
RewriteRule ^[\/]*(.*)$ /${lc:$1} [R=301,L]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

