Thanks for the link. Its for Apache, I am on nginX but thanks all the same.

I was just curious if there was a simple way to force the URLs. People don't
normally type out URLs I was just curious if there was a simple way to
ensure that if someone did type something in it would ensure lowercase if
not convert to lower then attempt the URL. Everything on the site is 100%
lowercase, I was just curious more so that actually caring :) If you get a
404 because your typing the url then that's just your problem, that's why we
put links there so you don't have to type them :)

Just seems like more work for the .1% who might.

K



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of cricket
Sent: Thursday, April 14, 2011 3:22 PM
To: [email protected]
Subject: Re: URL Case

On Thu, Apr 14, 2011 at 9:26 AM, Krissy Masters
<[email protected]> wrote:
> What is the behavior that you are wanting to achieve?
> *** Exactly what you typed, if they type it in wrong case 301 redirect.
>
>
>> Is it that, when a user requests http://www.example.com/FOO, they are 301
> redirected to http://www.example.com/foo?
>
>
> If so, why are your users requesting URLs with uppercase letters in the
> first place?
> *** Because you never know what the end user might be doing, I know
> personally if I am on a site I visit a lot I sometimes just type in / edit
> the url......i might be somewhere on yahoo and just manually type in
> news.yahoo.com rather than go back to the home page and click news...but
if
> I have caps on by mistake then that's why I am wondering about it in cake

Have a look here:
http://www.chrisabernethy.com/force-lower-case-urls-with-mod_rewrite/

You're out of luck, though, if you rely on .htaccess as the RewriteMap
line must be httpd.conf (or a virtual host conf).

-- 
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help
others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to