Regarding the $_GET['url'] question, check the webroot/.htaccess file,
especially the line:
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
This is used by cakephp to handle friendly urls
Saludos,
Pablo Viojo
CTO, Groupon Latinoamerica
pablo.vi...@groupon.com
http://www.groupon.com.ar http://www.
at line 2 of index.php
if ($_SERVER['REQUEST_URI']!=strtolower($_SERVER['REQUEST_URI'])){
header("HTTP/1.1 301 Moved Permanently" );
header("Location: " . strtolower($_SERVER['REQUEST_URI']));
}
(from memory, maybe something is wrong)
Saludos,
Pablo Viojo
CTO, Groupon Latinoamerica
pablo.vi...
On Apr 17, 2011, at 10:44, AD7six wrote:
> On Apr 17, 4:06 am, Ryan Schmidt wrote:
>> On Apr 15, 2011, at 08:57, AD7six wrote:
>>> $_GET['url'] = strtolower($_GET['url']); anywhere (e.g., line 1 of
>>> your index.php) will do the deed - and if you put a canonical meta tag
>>> in your page, you avoi
On Apr 17, 4:06 am, Ryan Schmidt wrote:
> On Apr 15, 2011, at 08:57, AD7six wrote:
>
>
>
>
>
>
>
>
>
> > On Apr 15, 9:25 am, Ryan Schmidt wrote:
> >> On Apr 14, 2011, at 14:49, stas kim wrote:
>
> >>> This might help
>
> >>>http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf
>
>
On Apr 15, 2011, at 08:57, AD7six wrote:
> On Apr 15, 9:25 am, Ryan Schmidt wrote:
>> On Apr 14, 2011, at 14:49, stas kim wrote:
>>
>>> This might help
>>
>>> http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf
>>
>>> search 'Case Insensitive'
>>
>> I haven't read the rest of t
On Apr 15, 9:25 am, Ryan Schmidt wrote:
> On Apr 14, 2011, at 14:49, stas kim wrote:
>
> > This might help
>
> >http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf
>
> > search 'Case Insensitive'
>
> I haven't read the rest of that document, but the Case Insensitive section is
>
On Apr 14, 2011, at 14:49, stas kim wrote:
> This might help
>>
> http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf
>
> search 'Case Insensitive'
I haven't read the rest of that document, but the Case Insensitive section is
certainly inaccurate. Its first sentence "Generally
This might help
http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf
search 'Case Insensitive'
On Thu, Apr 14, 2011 at 3:00 PM, cricket wrote:
> On Thu, Apr 14, 2011 at 2:08 PM, Krissy Masters
> wrote:
>> Thanks for the link. Its for Apache, I am on nginX but thanks all the same.
On Thu, Apr 14, 2011 at 2:08 PM, Krissy Masters
wrote:
> Thanks for the link. Its for Apache, I am on nginX but thanks all the same.
Oops! Sorry, I did see that earlier.
> 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
Just seems like more work for the .1% who might.
K
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of cricket
Sent: Thursday, April 14, 2011 3:22 PM
To: cake-php@googlegroups.com
Subject: Re: URL Case
On Thu, Apr 14, 2011 at 9:26 AM, K
On Thu, Apr 14, 2011 at 9:26 AM, Krissy Masters
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.examp
Subject: Re: URL Case
On Apr 13, 2011, at 23:23, Krissy Masters wrote:
> Is there a simple way to enforce the url to lowercase?
> I am not using apache and all I found is apache mod ways to do this. I am
running nginx and no luck finding anything on that front. Not sure if this
could be hand
On Thu, Apr 14, 2011 at 12:23 AM, Krissy Masters
wrote:
> Is there a simple way to enforce the url to lowercase?
>
> I am not using apache and all I found is apache mod ways to do this. I am
> running nginx and no luck finding anything on that front. Not sure if this
> could be handled by cake of
On Apr 13, 2011, at 23:23, Krissy Masters wrote:
> Is there a simple way to enforce the url to lowercase?
> I am not using apache and all I found is apache mod ways to do this. I am
> running nginx and no luck finding anything on that front. Not sure if this
> could be handled by cake of if it
14 matches
Mail list logo