[Radiant] Case Sensitivity

John W. Long ng at johnwlong.com
Tue Sep 12 07:39:55 CDT 2006


Dave Crossland wrote:
> The old site I am migrating to Radiant used mixed case URLs, and
> Radiant is case sensitive.
> 
> I'd prefere to have all lowercase URLs (as per default slugs)
> 
> Is there a way to set Radiant case insensitive?

No. It should be pretty easy to create a plugin to do this though. You 
would need to do the following:

* add a validations on Page#slug so that it had to be a unique
   non-case-sensitive URL

* modify the find method on Page so that it is case insensitive

I think that's it.

--
John Long
http://wiseheartdesign.com



More information about the Radiant mailing list